ecm_cms_navigation 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +38 -0
  4. data/app/admin/ecm/cms_navigation/navigation_items.rb +75 -0
  5. data/app/admin/ecm/cms_navigation/navigations.rb +51 -0
  6. data/app/assets/stylesheets/active_admin/ecm-cms-navigation.css +3 -0
  7. data/app/helpers/ecm/cms_navigation_helper.rb +37 -0
  8. data/app/models/ecm/cms_navigation/navigation.rb +24 -0
  9. data/app/models/ecm/cms_navigation/navigation_item.rb +38 -0
  10. data/config/locales/ecm.cms_navigation.de.yml +26 -0
  11. data/config/locales/ecm.cms_navigation.en.yml +26 -0
  12. data/config/locales/ecm.cms_navigation.navigation.de.yml +14 -0
  13. data/config/locales/ecm.cms_navigation.navigation.en.yml +14 -0
  14. data/config/locales/ecm.cms_navigation.navigation_item.de.yml +16 -0
  15. data/config/locales/ecm.cms_navigation.navigation_item.en.yml +16 -0
  16. data/db/migrate/001_create_ecm_cms_navigation_navigations.rb +10 -0
  17. data/db/migrate/002_create_ecm_cms_navigation_navigation_items.rb +17 -0
  18. data/lib/ecm/cms_navigation/engine.rb +34 -0
  19. data/lib/ecm/cms_navigation/version.rb +5 -0
  20. data/lib/ecm_cms_navigation.rb +2 -0
  21. data/lib/generators/ecm/cms_navigation/install/install_generator.rb +16 -0
  22. data/lib/generators/ecm/cms_navigation/navigation/navigation_generator.rb +15 -0
  23. data/lib/generators/ecm/cms_navigation/navigation/templates/navigation.rb +1 -0
  24. data/lib/tasks/ecm_cms_navigation_tasks.rake +4 -0
  25. data/test/dummy/README.rdoc +261 -0
  26. data/test/dummy/Rakefile +7 -0
  27. data/test/dummy/app/admin/admin_users.rb +32 -0
  28. data/test/dummy/app/admin/dashboards.rb +44 -0
  29. data/test/dummy/app/assets/javascripts/active_admin.js +1 -0
  30. data/test/dummy/app/assets/javascripts/application.js +15 -0
  31. data/test/dummy/app/assets/stylesheets/active_admin.css.scss +6 -0
  32. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  33. data/test/dummy/app/controllers/application_controller.rb +3 -0
  34. data/test/dummy/app/controllers/home_controller.rb +4 -0
  35. data/test/dummy/app/helpers/application_helper.rb +2 -0
  36. data/test/dummy/app/models/admin_user.rb +17 -0
  37. data/test/dummy/app/views/home/index.html.erb +6 -0
  38. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  39. data/test/dummy/config/application.rb +59 -0
  40. data/test/dummy/config/boot.rb +10 -0
  41. data/test/dummy/config/database.yml +25 -0
  42. data/test/dummy/config/environment.rb +5 -0
  43. data/test/dummy/config/environments/development.rb +37 -0
  44. data/test/dummy/config/environments/production.rb +67 -0
  45. data/test/dummy/config/environments/test.rb +37 -0
  46. data/test/dummy/config/initializers/active_admin.rb +134 -0
  47. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  48. data/test/dummy/config/initializers/devise.rb +216 -0
  49. data/test/dummy/config/initializers/inflections.rb +15 -0
  50. data/test/dummy/config/initializers/mime_types.rb +5 -0
  51. data/test/dummy/config/initializers/secret_token.rb +7 -0
  52. data/test/dummy/config/initializers/session_store.rb +8 -0
  53. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  54. data/test/dummy/config/locales/admin_user.de.yml +16 -0
  55. data/test/dummy/config/locales/de.yml +161 -0
  56. data/test/dummy/config/locales/devise.en.yml +57 -0
  57. data/test/dummy/config/locales/ecm.admin.de.yml +5 -0
  58. data/test/dummy/config/locales/ecm.cms-core.de.yml +48 -0
  59. data/test/dummy/config/locales/ecm.cms-core.en.yml +48 -0
  60. data/test/dummy/config/locales/ecm.cms-navigation.de.yml +47 -0
  61. data/test/dummy/config/locales/ecm.cms-navigation.en.yml +46 -0
  62. data/test/dummy/config/locales/en.yml +5 -0
  63. data/test/dummy/config/navigation.rb +0 -0
  64. data/test/dummy/config/routes.rb +63 -0
  65. data/test/dummy/config.ru +4 -0
  66. data/test/dummy/db/development.sqlite3 +0 -0
  67. data/test/dummy/db/migrate/20120407123948_devise_create_admin_users.rb +52 -0
  68. data/test/dummy/db/migrate/20120407143959_create_admin_notes.rb +17 -0
  69. data/test/dummy/db/migrate/20120407144000_move_admin_notes_to_comments.rb +25 -0
  70. data/test/dummy/db/migrate/20120621131006_create_ecm_cms_navigation_navigations.ecm_cms_navigation_engine.rb +11 -0
  71. data/test/dummy/db/migrate/20120621131007_create_ecm_cms_navigation_navigation_items.ecm_cms_navigation_engine.rb +18 -0
  72. data/test/dummy/db/schema.rb +70 -0
  73. data/test/dummy/log/development.log +6203 -0
  74. data/test/dummy/public/404.html +26 -0
  75. data/test/dummy/public/422.html +26 -0
  76. data/test/dummy/public/500.html +25 -0
  77. data/test/dummy/public/favicon.ico +0 -0
  78. data/test/dummy/public/stylesheets/active_admin/ecm-cms-navigation.css +3 -0
  79. data/test/dummy/script/rails +6 -0
  80. data/test/dummy/test/fixtures/admin_users.yml +11 -0
  81. data/test/dummy/test/unit/admin_user_test.rb +7 -0
  82. data/test/dummy/tmp/cache/assets/C1D/230/sprockets%2F02e9e2543661cd626253c7f004464493 +0 -0
  83. data/test/dummy/tmp/cache/assets/C80/820/sprockets%2F2fcd9e4a7533803943533046c5f3d560 +0 -0
  84. data/test/dummy/tmp/cache/assets/C8D/7C0/sprockets%2F48c1ed30977942d1674d3199d08b436d +0 -0
  85. data/test/dummy/tmp/cache/assets/C8E/6C0/sprockets%2Ff6e52920f98efa019261497767e041b5 +0 -0
  86. data/test/dummy/tmp/cache/assets/CAB/C40/sprockets%2F4477e59061a7d1e7ad744e6f2670a001 +0 -0
  87. data/test/dummy/tmp/cache/assets/CBC/520/sprockets%2F4204f20b76901301c0004b9df1cdde04 +0 -0
  88. data/test/dummy/tmp/cache/assets/CBE/0D0/sprockets%2F3b521b46440e9901877e67b3d595d6ef +0 -0
  89. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  90. data/test/dummy/tmp/cache/assets/CDB/040/sprockets%2Fc732474e67003a4eb840eb44c5ca9385 +0 -0
  91. data/test/dummy/tmp/cache/assets/CDE/A60/sprockets%2Fc8fd4776f82e110ec70f1112369fc333 +0 -0
  92. data/test/dummy/tmp/cache/assets/CF0/C10/sprockets%2F48e5f698b22e7a97ebc0d7515d180827 +0 -0
  93. data/test/dummy/tmp/cache/assets/CFB/BB0/sprockets%2F03ed1ef04e988e52c1bb424143b7401a +0 -0
  94. data/test/dummy/tmp/cache/assets/CFC/CE0/sprockets%2F081e67e39b56f0f99c68593a5ef2925d +0 -0
  95. data/test/dummy/tmp/cache/assets/D08/940/sprockets%2Ff3e82f5481bc64820c2a2f270045f6fa +0 -0
  96. data/test/dummy/tmp/cache/assets/D09/9B0/sprockets%2F3169613ce57de4cdf262803a5dd2b740 +0 -0
  97. data/test/dummy/tmp/cache/assets/D0D/A80/sprockets%2F5459a5ca0e63be62545e2d4a4742b7c8 +0 -0
  98. data/test/dummy/tmp/cache/assets/D12/D00/sprockets%2Fddf374b4e6ec55510ef906085094a54c +0 -0
  99. data/test/dummy/tmp/cache/assets/D14/D40/sprockets%2Fd108c2aff238873e06a7c6fb079d7443 +0 -0
  100. data/test/dummy/tmp/cache/assets/D17/750/sprockets%2F6f150f81cc3f03a91888db0b6875af57 +0 -0
  101. data/test/dummy/tmp/cache/assets/D18/7A0/sprockets%2Fd70b33bb7e9db0e665965b947a6275e0 +0 -0
  102. data/test/dummy/tmp/cache/assets/D2D/010/sprockets%2Fd48e0f08b09c78a502d11ec2df419a00 +0 -0
  103. data/test/dummy/tmp/cache/assets/D2E/C90/sprockets%2Fd106d47b969c6805798ff5cb05f8c59f +0 -0
  104. data/test/dummy/tmp/cache/assets/D31/E50/sprockets%2F86295df08e3769c5c68b3fccc977727c +0 -0
  105. data/test/dummy/tmp/cache/assets/D32/010/sprockets%2F7f752ae9016db83230fcf2c24017c4ae +0 -0
  106. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  107. data/test/dummy/tmp/cache/assets/D38/540/sprockets%2F86e1ad844bc9df4491a2a52b870421db +0 -0
  108. data/test/dummy/tmp/cache/assets/D39/910/sprockets%2F7a5ba442debf604fd3195483a4ba1875 +0 -0
  109. data/test/dummy/tmp/cache/assets/D3B/630/sprockets%2Fc549fd403a43fca068992bc190e32ca8 +0 -0
  110. data/test/dummy/tmp/cache/assets/D48/640/sprockets%2F9f4f18d910b678b1d0777e04cdaf6f24 +0 -0
  111. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  112. data/test/dummy/tmp/cache/assets/D59/D70/sprockets%2Fed9f0de1b65ae8d7ef89087c83728461 +0 -0
  113. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  114. data/test/dummy/tmp/cache/assets/D65/A10/sprockets%2F5d2a785575b7ddc8e93e1ab10c3f201b +0 -0
  115. data/test/dummy/tmp/cache/assets/D79/910/sprockets%2F6f54ace661399cc3bf262f81d9c5a7f0 +0 -0
  116. data/test/dummy/tmp/cache/assets/D81/4B0/sprockets%2F33d0fa9de67898d28edc22d7dc7c2727 +0 -0
  117. data/test/dummy/tmp/cache/assets/D85/0C0/sprockets%2F3faa7a2282b2a4530f7253eb9a2b5bac +0 -0
  118. data/test/dummy/tmp/cache/assets/D93/4C0/sprockets%2F857ecd2092cee11f740b3cf2e373ad2a +0 -0
  119. data/test/dummy/tmp/cache/assets/D9F/990/sprockets%2Faef93bd19f09e008e68ce6f1bcb09412 +0 -0
  120. data/test/dummy/tmp/cache/assets/DA9/0B0/sprockets%2Feea56b6eec8c2eb4069704df6f15a289 +0 -0
  121. data/test/dummy/tmp/cache/assets/DA9/900/sprockets%2Fe1f74b542e4ee1ec991bb3e84209e8ee +0 -0
  122. data/test/dummy/tmp/cache/assets/DB8/A40/sprockets%2F529735aeec02af5d05bb03b1de2a5ad8 +0 -0
  123. data/test/dummy/tmp/cache/assets/DCB/210/sprockets%2F598702ccb42e02ff5db7ac4f6670afda +0 -0
  124. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  125. data/test/dummy/tmp/cache/assets/DDE/420/sprockets%2Ffb8b186d5bf0307f86f65fc787d2adeb +0 -0
  126. data/test/dummy/tmp/cache/assets/DF9/680/sprockets%2F552b35d5afffa72ded4bb41f2e88d41a +0 -0
  127. data/test/dummy/tmp/cache/assets/DFE/E50/sprockets%2F7c40c693372adf7a3fafc7aae8b63af5 +0 -0
  128. data/test/dummy/tmp/cache/assets/E04/5A0/sprockets%2Fda71e1fafe3707d7ff5532b1f6c89baf +0 -0
  129. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  130. data/test/dummy/tmp/cache/sass/2e0f90a26ed3334980f9f0cefc7301c037c5e6a7/_all.css.scssc +0 -0
  131. data/test/dummy/tmp/cache/sass/2e0f90a26ed3334980f9f0cefc7301c037c5e6a7/_buttons.css.scssc +0 -0
  132. data/test/dummy/tmp/cache/sass/2e0f90a26ed3334980f9f0cefc7301c037c5e6a7/_gradients.css.scssc +0 -0
  133. data/test/dummy/tmp/cache/sass/2e0f90a26ed3334980f9f0cefc7301c037c5e6a7/_icons.css.scssc +0 -0
  134. data/test/dummy/tmp/cache/sass/2e0f90a26ed3334980f9f0cefc7301c037c5e6a7/_reset.css.scssc +0 -0
  135. data/test/dummy/tmp/cache/sass/2e0f90a26ed3334980f9f0cefc7301c037c5e6a7/_rounded.css.scssc +0 -0
  136. data/test/dummy/tmp/cache/sass/2e0f90a26ed3334980f9f0cefc7301c037c5e6a7/_sections.css.scssc +0 -0
  137. data/test/dummy/tmp/cache/sass/2e0f90a26ed3334980f9f0cefc7301c037c5e6a7/_shadows.css.scssc +0 -0
  138. data/test/dummy/tmp/cache/sass/2e0f90a26ed3334980f9f0cefc7301c037c5e6a7/_typography.scssc +0 -0
  139. data/test/dummy/tmp/cache/sass/2e0f90a26ed3334980f9f0cefc7301c037c5e6a7/_utilities.scssc +0 -0
  140. data/test/dummy/tmp/cache/sass/2e0f90a26ed3334980f9f0cefc7301c037c5e6a7/_variables.css.scssc +0 -0
  141. data/test/dummy/tmp/cache/sass/378a5efbe5b1fb270a5eba61f1413b4042bc0f25/_button.scssc +0 -0
  142. data/test/dummy/tmp/cache/sass/378a5efbe5b1fb270a5eba61f1413b4042bc0f25/_clearfix.scssc +0 -0
  143. data/test/dummy/tmp/cache/sass/378a5efbe5b1fb270a5eba61f1413b4042bc0f25/_font-family.scssc +0 -0
  144. data/test/dummy/tmp/cache/sass/378a5efbe5b1fb270a5eba61f1413b4042bc0f25/_html5-input-types.scssc +0 -0
  145. data/test/dummy/tmp/cache/sass/378a5efbe5b1fb270a5eba61f1413b4042bc0f25/_position.scssc +0 -0
  146. data/test/dummy/tmp/cache/sass/378a5efbe5b1fb270a5eba61f1413b4042bc0f25/_timing-functions.scssc +0 -0
  147. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_batch_actions.css.scssc +0 -0
  148. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_blank_slates.scssc +0 -0
  149. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_breadcrumbs.scssc +0 -0
  150. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_buttons.scssc +0 -0
  151. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_columns.scssc +0 -0
  152. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_comments.css.scssc +0 -0
  153. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_date_picker.css.scssc +0 -0
  154. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_flash_messages.css.scssc +0 -0
  155. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_grid.scssc +0 -0
  156. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_links.scssc +0 -0
  157. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_pagination.scssc +0 -0
  158. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_panels.scssc +0 -0
  159. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_popovers.css.scssc +0 -0
  160. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_scopes.scssc +0 -0
  161. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_status_tags.scssc +0 -0
  162. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_table_tools.css.scssc +0 -0
  163. data/test/dummy/tmp/cache/sass/69c1f805ecd19454a5adf31f922b96c98249e909/_tables.css.scssc +0 -0
  164. data/test/dummy/tmp/cache/sass/6d50bd3bb8f79c9ddfeb03076798c5250f1bb8b6/_footer.scssc +0 -0
  165. data/test/dummy/tmp/cache/sass/6d50bd3bb8f79c9ddfeb03076798c5250f1bb8b6/_main_structure.scssc +0 -0
  166. data/test/dummy/tmp/cache/sass/6d50bd3bb8f79c9ddfeb03076798c5250f1bb8b6/_title_bar.scssc +0 -0
  167. data/test/dummy/tmp/cache/sass/7842134ab963cf09dadd7c2615b49cc6825f6976/_bourbon.scssc +0 -0
  168. data/test/dummy/tmp/cache/sass/7fa69198e74897139322c878f468e646709df4fe/_base.css.scssc +0 -0
  169. data/test/dummy/tmp/cache/sass/7fa69198e74897139322c878f468e646709df4fe/_forms.css.scssc +0 -0
  170. data/test/dummy/tmp/cache/sass/7fa69198e74897139322c878f468e646709df4fe/_header.css.scssc +0 -0
  171. data/test/dummy/tmp/cache/sass/7fa69198e74897139322c878f468e646709df4fe/_mixins.css.scssc +0 -0
  172. data/test/dummy/tmp/cache/sass/7fa69198e74897139322c878f468e646709df4fe/_typography.css.scssc +0 -0
  173. data/test/dummy/tmp/cache/sass/7fa69198e74897139322c878f468e646709df4fe/print.css.scssc +0 -0
  174. data/test/dummy/tmp/cache/sass/93540e1dfd808fbf20fd1c5388bc9c65df2ce6a0/active_admin.css.scssc +0 -0
  175. data/test/dummy/tmp/cache/sass/97dc896013aa89b6e113ee6298b3e4ae01f2ca5c/_dashboard.scssc +0 -0
  176. data/test/dummy/tmp/cache/sass/97dc896013aa89b6e113ee6298b3e4ae01f2ca5c/_logged_out.scssc +0 -0
  177. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_animation.scssc +0 -0
  178. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_appearance.scssc +0 -0
  179. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_background-image.scssc +0 -0
  180. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_background-size.scssc +0 -0
  181. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_border-image.scssc +0 -0
  182. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_border-radius.scssc +0 -0
  183. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_box-shadow.scssc +0 -0
  184. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_box-sizing.scssc +0 -0
  185. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_columns.scssc +0 -0
  186. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_flex-box.scssc +0 -0
  187. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_inline-block.scssc +0 -0
  188. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_linear-gradient.scssc +0 -0
  189. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_radial-gradient.scssc +0 -0
  190. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_transform.scssc +0 -0
  191. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_transition.scssc +0 -0
  192. data/test/dummy/tmp/cache/sass/abf1c7b1db7af47efaba561dc159ec42907e4376/_user-select.scssc +0 -0
  193. data/test/dummy/tmp/cache/sass/b8feec7b5dd9bdfcb6b02acda27daed749f5790a/_deprecated-webkit-gradient.scssc +0 -0
  194. data/test/dummy/tmp/cache/sass/b8feec7b5dd9bdfcb6b02acda27daed749f5790a/_flex-grid.scssc +0 -0
  195. data/test/dummy/tmp/cache/sass/b8feec7b5dd9bdfcb6b02acda27daed749f5790a/_grid-width.scssc +0 -0
  196. data/test/dummy/tmp/cache/sass/b8feec7b5dd9bdfcb6b02acda27daed749f5790a/_linear-gradient.scssc +0 -0
  197. data/test/dummy/tmp/cache/sass/b8feec7b5dd9bdfcb6b02acda27daed749f5790a/_modular-scale.scssc +0 -0
  198. data/test/dummy/tmp/cache/sass/b8feec7b5dd9bdfcb6b02acda27daed749f5790a/_radial-gradient.scssc +0 -0
  199. data/test/dummy/tmp/cache/sass/b8feec7b5dd9bdfcb6b02acda27daed749f5790a/_render-gradients.scssc +0 -0
  200. data/test/dummy/tmp/cache/sass/b8feec7b5dd9bdfcb6b02acda27daed749f5790a/_tint-shade.scssc +0 -0
  201. data/test/ecm_cms_navigation_test.rb +7 -0
  202. data/test/test_helper.rb +15 -0
  203. metadata +520 -0
@@ -0,0 +1,57 @@
1
+ # Additional translations at https://github.com/plataformatec/devise/wiki/I18n
2
+
3
+ en:
4
+ errors:
5
+ messages:
6
+ expired: "has expired, please request a new one"
7
+ not_found: "not found"
8
+ already_confirmed: "was already confirmed, please try signing in"
9
+ not_locked: "was not locked"
10
+ not_saved:
11
+ one: "1 error prohibited this %{resource} from being saved:"
12
+ other: "%{count} errors prohibited this %{resource} from being saved:"
13
+
14
+ devise:
15
+ failure:
16
+ already_authenticated: 'You are already signed in.'
17
+ unauthenticated: 'You need to sign in or sign up before continuing.'
18
+ unconfirmed: 'You have to confirm your account before continuing.'
19
+ locked: 'Your account is locked.'
20
+ invalid: 'Invalid email or password.'
21
+ invalid_token: 'Invalid authentication token.'
22
+ timeout: 'Your session expired, please sign in again to continue.'
23
+ inactive: 'Your account was not activated yet.'
24
+ sessions:
25
+ signed_in: 'Signed in successfully.'
26
+ signed_out: 'Signed out successfully.'
27
+ passwords:
28
+ send_instructions: 'You will receive an email with instructions about how to reset your password in a few minutes.'
29
+ updated: 'Your password was changed successfully. You are now signed in.'
30
+ updated_not_active: 'Your password was changed successfully.'
31
+ send_paranoid_instructions: "If your e-mail exists on our database, you will receive a password recovery link on your e-mail"
32
+ confirmations:
33
+ send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.'
34
+ send_paranoid_instructions: 'If your e-mail exists on our database, you will receive an email with instructions about how to confirm your account in a few minutes.'
35
+ confirmed: 'Your account was successfully confirmed. You are now signed in.'
36
+ registrations:
37
+ signed_up: 'Welcome! You have signed up successfully.'
38
+ signed_up_but_unconfirmed: 'A message with a confirmation link has been sent to your email address. Please open the link to activate your account.'
39
+ signed_up_but_inactive: 'You have signed up successfully. However, we could not sign you in because your account is not yet activated.'
40
+ signed_up_but_locked: 'You have signed up successfully. However, we could not sign you in because your account is locked.'
41
+ updated: 'You updated your account successfully.'
42
+ update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and click on the confirm link to finalize confirming your new email address."
43
+ destroyed: 'Bye! Your account was successfully cancelled. We hope to see you again soon.'
44
+ unlocks:
45
+ send_instructions: 'You will receive an email with instructions about how to unlock your account in a few minutes.'
46
+ unlocked: 'Your account has been unlocked successfully. Please sign in to continue.'
47
+ send_paranoid_instructions: 'If your account exists, you will receive an email with instructions about how to unlock it in a few minutes.'
48
+ omniauth_callbacks:
49
+ success: 'Successfully authorized from %{kind} account.'
50
+ failure: 'Could not authorize you from %{kind} because "%{reason}".'
51
+ mailer:
52
+ confirmation_instructions:
53
+ subject: 'Confirmation instructions'
54
+ reset_password_instructions:
55
+ subject: 'Reset password instructions'
56
+ unlock_instructions:
57
+ subject: 'Unlock Instructions'
@@ -0,0 +1,5 @@
1
+ de:
2
+ active_admin:
3
+ batch_actions:
4
+ action_label: "löschen"
5
+ button_label: "Markierte..."
@@ -0,0 +1,48 @@
1
+ de:
2
+ :false: "nein"
3
+ :true: "ja"
4
+ active_admin:
5
+ scopes:
6
+ all: "Alle"
7
+ templates: "Seiten"
8
+ root_folders: "Wurzelordner"
9
+ partials: "Fragmente"
10
+ activerecord:
11
+ attributes:
12
+ ecm/cms_core/folder:
13
+ basename: "Name"
14
+ parent: "Übergeordneter Ordner"
15
+ pathname: "Pfad"
16
+ templates_count: "Seiten"
17
+ tree_label: "Pfad"
18
+ ecm/cms_core/template:
19
+ basename: "Name"
20
+ body: "Inhalt"
21
+ layout: "Layout"
22
+ locale: "Sprache"
23
+ filename: "Dateiname"
24
+ folder: "Ordner"
25
+ formatted_partial_flag: "Fragment"
26
+ format: "Format"
27
+ handler: "Handler"
28
+ meta_description: "Meta Description"
29
+ partial: "Fragment"
30
+ pathname: "Pfad"
31
+ title: "Titel"
32
+ models:
33
+ ecm/cms_core/folder:
34
+ one: "Ordner"
35
+ other: "Ordner"
36
+ ecm/cms_core/template:
37
+ one: "Seite"
38
+ other: "Seiten"
39
+ attributes:
40
+ created_at: "Erstellt"
41
+ updated_at: "Aktualisiert"
42
+ formtastic:
43
+ :yes: 'Ja'
44
+ :no: 'Nein'
45
+ :create: '%{model} erstellen'
46
+ :update: '%{model} aktualisieren'
47
+ :submit: '%{model} speichern'
48
+ :required: 'benötigt'
@@ -0,0 +1,48 @@
1
+ en:
2
+ :false: "nein"
3
+ :true: "ja"
4
+ active_admin:
5
+ scopes:
6
+ all: "All"
7
+ templates: "Templates"
8
+ root_folders: "Root folders"
9
+ partials: "Partials"
10
+ activerecord:
11
+ attributes:
12
+ ecm/cms_core/folder:
13
+ basename: "Name"
14
+ parent: "Parent Folder"
15
+ pathname: "Path"
16
+ templates_count: "Pages"
17
+ tree_label: "Path"
18
+ ecm/cms_core/template:
19
+ basename: "Name"
20
+ body: "Content"
21
+ layout: "Layout"
22
+ locale: "Language"
23
+ filename: "Filename"
24
+ folder: "Folder"
25
+ formatted_partial_flag: "Partial"
26
+ format: "Format"
27
+ handler: "Handler"
28
+ meta_description: "Meta Description"
29
+ partial: "Partial"
30
+ pathname: "Path"
31
+ title: "Title"
32
+ models:
33
+ ecm/cms_core/folder:
34
+ one: "Folder"
35
+ other: "Folders"
36
+ ecm/cms_core/template:
37
+ one: "Page"
38
+ other: "Pages"
39
+ attributes:
40
+ created_at: "Created"
41
+ updated_at: "Updated"
42
+ formtastic:
43
+ :yes: 'Yes'
44
+ :no: 'No'
45
+ :create: 'create %{model}'
46
+ :update: 'update %{model}'
47
+ :submit: 'submit %{model}'
48
+ :required: 'required'
@@ -0,0 +1,47 @@
1
+ de:
2
+ :false: "nein"
3
+ :true: "ja"
4
+ active_admin:
5
+ move_up: "Up"
6
+ move_down: "Down"
7
+ awesome_nested_set:
8
+ moved_up: "%{resource} nach oben verschoben"
9
+ moved_down: "%{resource} nach unten verschoben"
10
+ illegal_move_up: "Konnte %{resource} nicht nach oben verschieben"
11
+ illegal_move_down: "Konnte %{resource} nicht nach unten verschieben"
12
+ activerecord:
13
+ attributes:
14
+ ecm/cms_navigation/navigation:
15
+ expand: "Ausklappen"
16
+ level: "Level"
17
+ locale: "Sprache"
18
+ name: "Name"
19
+ ecm/cms_navigation/navigation_item:
20
+ indented_name: "Name"
21
+ key: "Schlüssel"
22
+ name: "Name"
23
+ options: "Optionen"
24
+ parent: "Unterpunkt von"
25
+ url: "Zieladresse"
26
+ models:
27
+ ecm/cms_navigation/navigation:
28
+ one: "Navigation"
29
+ other: "Navigationen"
30
+ ecm/cms_navigation/navigation_item:
31
+ one: "Navigationspunkt"
32
+ other: "Navigationspunkte"
33
+ attributes:
34
+ created_at: "Erstellt"
35
+ updated_at: "Aktualisiert"
36
+ ecm:
37
+ navigation:
38
+ navigation_empty: "Navigation \"%{name}\" ist leer."
39
+ no_subitems: "Keine Unterpunkte vorhanden"
40
+ navigation_not_found: "Navigation \"%{name}\" nicht gefunden."
41
+ formtastic:
42
+ :yes: 'Ja'
43
+ :no: 'Nein'
44
+ :create: '%{model} erstellen'
45
+ :update: '%{model} aktualisieren'
46
+ :submit: '%{model} speichern'
47
+ :required: 'benötigt'
@@ -0,0 +1,46 @@
1
+ en:
2
+ :false: "no"
3
+ :true: "yes"
4
+ active_admin:
5
+ move_up: "Up"
6
+ move_down: "Down"
7
+ awesome_nested_set:
8
+ moved_up: "Moved %{resource} up"
9
+ moved_down: "Moved %{resource} down"
10
+ illegal_move_up: "Could not move %{resource} up"
11
+ illegal_move_down: "Could not move %{resource} down"
12
+ activerecord:
13
+ attributes:
14
+ navigation:
15
+ expand: "Expand"
16
+ level: "Level"
17
+ locale: "Language"
18
+ name: "Name"
19
+ navigation_item:
20
+ indented_name: "Name"
21
+ key: "Key"
22
+ name: "Name"
23
+ options: "Options"
24
+ parent: "Parent"
25
+ url: "Url"
26
+ models:
27
+ navigation: "Navigation"
28
+ navigation_item: "Navigation Item"
29
+ pluralized_models:
30
+ navigation: "Navigations"
31
+ navigation_item: "Navigation Items"
32
+ attributes:
33
+ created_at: "Created at"
34
+ updated_at: "Updated at"
35
+ ecm:
36
+ navigation:
37
+ navigation_empty: "Navigation \"%{name}\" is empty"
38
+ no_subitems: "No Subitems found"
39
+ navigation_not_found: "Navigation \"%{name}\" not found"
40
+ formtastic:
41
+ :yes: 'Ja'
42
+ :no: 'Nein'
43
+ :create: 'Create %{model}'
44
+ :update: 'Update %{model}'
45
+ :submit: 'Save %{model}'
46
+ :required: 'required'
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
File without changes
@@ -0,0 +1,63 @@
1
+ Dummy::Application.routes.draw do
2
+ ActiveAdmin.routes(self)
3
+
4
+ devise_for :admin_users, ActiveAdmin::Devise.config
5
+
6
+ root :to => 'home#index'
7
+ # The priority is based upon order of creation:
8
+ # first created -> highest priority.
9
+
10
+ # Sample of regular route:
11
+ # match 'products/:id' => 'catalog#view'
12
+ # Keep in mind you can assign values other than :controller and :action
13
+
14
+ # Sample of named route:
15
+ # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
16
+ # This route can be invoked with purchase_url(:id => product.id)
17
+
18
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
19
+ # resources :products
20
+
21
+ # Sample resource route with options:
22
+ # resources :products do
23
+ # member do
24
+ # get 'short'
25
+ # post 'toggle'
26
+ # end
27
+ #
28
+ # collection do
29
+ # get 'sold'
30
+ # end
31
+ # end
32
+
33
+ # Sample resource route with sub-resources:
34
+ # resources :products do
35
+ # resources :comments, :sales
36
+ # resource :seller
37
+ # end
38
+
39
+ # Sample resource route with more complex sub-resources
40
+ # resources :products do
41
+ # resources :comments
42
+ # resources :sales do
43
+ # get 'recent', :on => :collection
44
+ # end
45
+ # end
46
+
47
+ # Sample resource route within a namespace:
48
+ # namespace :admin do
49
+ # # Directs /admin/products/* to Admin::ProductsController
50
+ # # (app/controllers/admin/products_controller.rb)
51
+ # resources :products
52
+ # end
53
+
54
+ # You can have the root of your site routed with "root"
55
+ # just remember to delete public/index.html.
56
+ # root :to => 'welcome#index'
57
+
58
+ # See how all your routes lay out with "rake routes"
59
+
60
+ # This is a legacy wild controller route that's not recommended for RESTful applications.
61
+ # Note: This route will make all actions in every controller accessible via GET requests.
62
+ # match ':controller(/:action(/:id))(.:format)'
63
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
Binary file
@@ -0,0 +1,52 @@
1
+ class DeviseCreateAdminUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table(:admin_users) do |t|
4
+ ## Database authenticatable
5
+ t.string :email, :null => false, :default => ""
6
+ t.string :encrypted_password, :null => false, :default => ""
7
+
8
+ ## Recoverable
9
+ t.string :reset_password_token
10
+ t.datetime :reset_password_sent_at
11
+
12
+ ## Rememberable
13
+ t.datetime :remember_created_at
14
+
15
+ ## Trackable
16
+ t.integer :sign_in_count, :default => 0
17
+ t.datetime :current_sign_in_at
18
+ t.datetime :last_sign_in_at
19
+ t.string :current_sign_in_ip
20
+ t.string :last_sign_in_ip
21
+
22
+ ## Encryptable
23
+ # t.string :password_salt
24
+
25
+ ## Confirmable
26
+ # t.string :confirmation_token
27
+ # t.datetime :confirmed_at
28
+ # t.datetime :confirmation_sent_at
29
+ # t.string :unconfirmed_email # Only if using reconfirmable
30
+
31
+ ## Lockable
32
+ # t.integer :failed_attempts, :default => 0 # Only if lock strategy is :failed_attempts
33
+ # t.string :unlock_token # Only if unlock strategy is :email or :both
34
+ # t.datetime :locked_at
35
+
36
+ ## Token authenticatable
37
+ # t.string :authentication_token
38
+
39
+
40
+ t.timestamps
41
+ end
42
+
43
+ # Create a default user
44
+ AdminUser.create!(:email => 'admin@example.com', :password => 'password', :password_confirmation => 'password')
45
+
46
+ add_index :admin_users, :email, :unique => true
47
+ add_index :admin_users, :reset_password_token, :unique => true
48
+ # add_index :admin_users, :confirmation_token, :unique => true
49
+ # add_index :admin_users, :unlock_token, :unique => true
50
+ # add_index :admin_users, :authentication_token, :unique => true
51
+ end
52
+ end
@@ -0,0 +1,17 @@
1
+ class CreateAdminNotes < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :admin_notes do |t|
4
+ t.string :resource_id, :null => false
5
+ t.string :resource_type, :null => false
6
+ t.references :admin_user, :polymorphic => true
7
+ t.text :body
8
+ t.timestamps
9
+ end
10
+ add_index :admin_notes, [:resource_type, :resource_id]
11
+ add_index :admin_notes, [:admin_user_type, :admin_user_id]
12
+ end
13
+
14
+ def self.down
15
+ drop_table :admin_notes
16
+ end
17
+ end
@@ -0,0 +1,25 @@
1
+ class MoveAdminNotesToComments < ActiveRecord::Migration
2
+ def self.up
3
+ remove_index :admin_notes, [:admin_user_type, :admin_user_id]
4
+ rename_table :admin_notes, :active_admin_comments
5
+ rename_column :active_admin_comments, :admin_user_type, :author_type
6
+ rename_column :active_admin_comments, :admin_user_id, :author_id
7
+ add_column :active_admin_comments, :namespace, :string
8
+ add_index :active_admin_comments, [:namespace]
9
+ add_index :active_admin_comments, [:author_type, :author_id]
10
+
11
+ # Update all the existing comments to the default namespace
12
+ say "Updating any existing comments to the #{ActiveAdmin.application.default_namespace} namespace."
13
+ execute "UPDATE active_admin_comments SET namespace='#{ActiveAdmin.application.default_namespace}'"
14
+ end
15
+
16
+ def self.down
17
+ remove_index :active_admin_comments, :column => [:author_type, :author_id]
18
+ remove_index :active_admin_comments, :column => [:namespace]
19
+ remove_column :active_admin_comments, :namespace
20
+ rename_column :active_admin_comments, :author_id, :admin_user_id
21
+ rename_column :active_admin_comments, :author_type, :admin_user_type
22
+ rename_table :active_admin_comments, :admin_notes
23
+ add_index :admin_notes, [:admin_user_type, :admin_user_id]
24
+ end
25
+ end
@@ -0,0 +1,11 @@
1
+ # This migration comes from ecm_cms_navigation_engine (originally 1)
2
+ class CreateEcmCmsNavigationNavigations < ActiveRecord::Migration
3
+ def change
4
+ create_table :ecm_cms_navigation_navigations do |t|
5
+ t.string :locale
6
+ t.string :name
7
+
8
+ t.timestamps
9
+ end
10
+ end
11
+ end