forgeos_cms 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +2 -0
- data/README.textile +42 -0
- data/app/assets/images/forgeos/admin/favicon.gif +0 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_cms/carousels.js +56 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_cms/menus.js +93 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_cms/overlay.js +86 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_cms/trees.js +8 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_cms/widget_actualities.js +117 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/carousels.js +131 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/menus.js +294 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/overlays.js +71 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/trees.js +94 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/widget_actualities.js +23 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_cms/widget_faq.js +13 -0
- data/app/assets/stylesheets/forgeos/admin/base.css.sass +2 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_cms/_all.css.sass +1 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_cms/_blocks.css.sass +220 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/bubble-quantity-products.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/check-checked.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/check-unchecked.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/context.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/create.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/dark-blue-minus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/dark-blue-plus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/dot.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/f.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/fminus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/fminus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/folder.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/fplus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/fplus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/lastli.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/lastli_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/li.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/remove.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/rename.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/style.css.sass +219 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_page/throbber.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/brown-minus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/brown-plus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/bubble-quantity-products.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/context.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/create.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/dot.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/f.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/fminus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/fminus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/fplus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/fplus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/lastli.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/lastli_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/li.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/remove.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/rename.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/style.css.sass +138 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/block_category/throbber.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/big-drag-and-drop.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/bubble-quantity-products.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/check-checked.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/check-unchecked.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/context.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/create.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/dark-blue-minus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/dark-blue-plus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/dot.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/drag-drop.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/f.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/fminus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/fminus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/folder.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/fplus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/fplus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/lastli.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/lastli_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/li.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/remove.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/rename.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/style.css.sass +186 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/menu-tree/throbber.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/brown-minus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/brown-plus.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/bubble-quantity-products.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/context.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/create.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/dot.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/f.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/fminus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/fminus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/fplus.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/fplus_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/lastli.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/lastli_rtl.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/li.gif +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/remove.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/rename.png +0 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/style.css.sass +138 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/page_category/throbber.gif +0 -0
- data/app/controllers/actualities_controller.rb +11 -0
- data/app/controllers/admin/actualities_controller.rb +100 -0
- data/app/controllers/admin/base_controller.rb +11 -0
- data/app/controllers/admin/carousels_controller.rb +101 -0
- data/app/controllers/admin/import_controller.rb +20 -0
- data/app/controllers/admin/menus_controller.rb +104 -0
- data/app/controllers/admin/newsletters_controller.rb +110 -0
- data/app/controllers/admin/pages_controller.rb +169 -0
- data/app/controllers/admin/static_content_blocks_controller.rb +174 -0
- data/app/controllers/admin/statistics_controller.rb +29 -0
- data/app/controllers/admin/widget_actualities_controller.rb +101 -0
- data/app/controllers/admin/widget_faqs_controller.rb +71 -0
- data/app/controllers/admin/widgets_controller.rb +83 -0
- data/app/controllers/forgeos/application_controller.rb +21 -0
- data/app/controllers/newsletters_controller.rb +11 -0
- data/app/controllers/pages_controller.rb +24 -0
- data/app/controllers/search_controller.rb +7 -0
- data/app/helpers/application_helper.rb +43 -0
- data/app/helpers/menu_helper.rb +46 -0
- data/app/helpers/routes_helper.rb +19 -0
- data/app/models/actuality.rb +21 -0
- data/app/models/block.rb +65 -0
- data/app/models/block_category.rb +7 -0
- data/app/models/carousel.rb +14 -0
- data/app/models/carousel_item.rb +12 -0
- data/app/models/category_link.rb +2 -0
- data/app/models/comment.rb +6 -0
- data/app/models/external_link.rb +5 -0
- data/app/models/faq.rb +10 -0
- data/app/models/link_page.rb +2 -0
- data/app/models/menu.rb +30 -0
- data/app/models/menu_category.rb +7 -0
- data/app/models/menu_link.rb +57 -0
- data/app/models/newsletter.rb +5 -0
- data/app/models/page.rb +85 -0
- data/app/models/page_category.rb +11 -0
- data/app/models/page_col.rb +14 -0
- data/app/models/page_link.rb +17 -0
- data/app/models/page_sweeper.rb +54 -0
- data/app/models/static_content_block.rb +2 -0
- data/app/models/static_content_category.rb +2 -0
- data/app/models/widget.rb +2 -0
- data/app/models/widget_actuality.rb +19 -0
- data/app/models/widget_category.rb +2 -0
- data/app/models/widget_faq.rb +12 -0
- data/app/views/actualities/rss.rxml +20 -0
- data/app/views/admin/actualities/_form.html.haml +38 -0
- data/app/views/admin/actualities/_tabs.html.haml +5 -0
- data/app/views/admin/actualities/edit.html.haml +3 -0
- data/app/views/admin/actualities/index.html.haml +10 -0
- data/app/views/admin/actualities/index.json.erb +34 -0
- data/app/views/admin/actualities/new.html.haml +3 -0
- data/app/views/admin/blocks/_associated_pages.html.haml +33 -0
- data/app/views/admin/blocks/_tabs.html.haml +8 -0
- data/app/views/admin/carousels/_attachments_popups.html.haml +81 -0
- data/app/views/admin/carousels/_form.html.haml +95 -0
- data/app/views/admin/carousels/_form_item.html.haml +54 -0
- data/app/views/admin/carousels/_item.html.haml +25 -0
- data/app/views/admin/carousels/edit.html.haml +1 -0
- data/app/views/admin/carousels/new.html.haml +1 -0
- data/app/views/admin/carousels/show.html.haml +40 -0
- data/app/views/admin/categories/_block.html.haml +4 -0
- data/app/views/admin/categories/_list_blocks.html.haml +13 -0
- data/app/views/admin/categories/_list_pages.html.haml +13 -0
- data/app/views/admin/categories/_page.html.haml +2 -0
- data/app/views/admin/dashboard/index.html.haml +19 -0
- data/app/views/admin/menu_links/_show.html.haml +8 -0
- data/app/views/admin/menus/_empty_menu_link.html.haml +45 -0
- data/app/views/admin/menus/_form.html.haml +27 -0
- data/app/views/admin/menus/_form_menu_links.html.haml +60 -0
- data/app/views/admin/menus/_lang_switcher.html.haml +2 -0
- data/app/views/admin/menus/_tabs.html.haml +5 -0
- data/app/views/admin/menus/_types_popups.html.haml +21 -0
- data/app/views/admin/menus/edit.html.haml +1 -0
- data/app/views/admin/menus/index.html.haml +13 -0
- data/app/views/admin/menus/index.json.erb +31 -0
- data/app/views/admin/menus/new.html.haml +1 -0
- data/app/views/admin/menus/show.html.haml +22 -0
- data/app/views/admin/newsletters/_form.html.haml +19 -0
- data/app/views/admin/newsletters/_tabs.html.haml +3 -0
- data/app/views/admin/newsletters/edit.html.haml +2 -0
- data/app/views/admin/newsletters/index.html.haml +14 -0
- data/app/views/admin/newsletters/index.json.erb +22 -0
- data/app/views/admin/newsletters/new.html.haml +2 -0
- data/app/views/admin/pages/_block_popup.html.haml +18 -0
- data/app/views/admin/pages/_blocks.html.haml +29 -0
- data/app/views/admin/pages/_codes.html.haml +33 -0
- data/app/views/admin/pages/_form.html.haml +15 -0
- data/app/views/admin/pages/_general.html.haml +64 -0
- data/app/views/admin/pages/_seo.html.haml +31 -0
- data/app/views/admin/pages/_tabs.html.haml +5 -0
- data/app/views/admin/pages/_tabs_show.html.haml +9 -0
- data/app/views/admin/pages/edit.html.haml +1 -0
- data/app/views/admin/pages/index.html.haml +13 -0
- data/app/views/admin/pages/index.json.erb +37 -0
- data/app/views/admin/pages/new.html.haml +2 -0
- data/app/views/admin/pages/show.html.haml +100 -0
- data/app/views/admin/static_content_blocks/_form.html.haml +41 -0
- data/app/views/admin/static_content_blocks/edit.html.haml +1 -0
- data/app/views/admin/static_content_blocks/index.html.haml +16 -0
- data/app/views/admin/static_content_blocks/index.json.erb +28 -0
- data/app/views/admin/static_content_blocks/new.html.haml +1 -0
- data/app/views/admin/static_content_blocks/show.html.haml +23 -0
- data/app/views/admin/statistics/index.html.haml +57 -0
- data/app/views/admin/users/_tabs.html.haml +3 -0
- data/app/views/admin/widget_actualities/_form.html.haml +87 -0
- data/app/views/admin/widget_actualities/_form_item.html.haml +28 -0
- data/app/views/admin/widget_actualities/_item.html.haml +11 -0
- data/app/views/admin/widget_actualities/_tabs.html.haml +8 -0
- data/app/views/admin/widget_actualities/edit.html.haml +2 -0
- data/app/views/admin/widget_actualities/new.html.haml +2 -0
- data/app/views/admin/widget_actualities/show.html.haml +39 -0
- data/app/views/admin/widget_faqs/_form.html.haml +68 -0
- data/app/views/admin/widget_faqs/_tabs.html.haml +8 -0
- data/app/views/admin/widget_faqs/edit.html.haml +2 -0
- data/app/views/admin/widget_faqs/new.html.haml +2 -0
- data/app/views/admin/widgets/_tabs.html.haml +8 -0
- data/app/views/admin/widgets/index.html.haml +28 -0
- data/app/views/admin/widgets/index.json.erb +27 -0
- data/app/views/layouts/admin/_menu.html.haml +0 -0
- data/app/views/layouts/application.html.haml +21 -0
- data/app/views/pages/_linked_pages.html.haml +4 -0
- data/app/views/pages/_page.html.haml +15 -0
- data/app/views/pages/show.html.haml +9 -0
- data/app/views/search/index.html.haml +8 -0
- data/config/locales/activerecord/en.yml +48 -0
- data/config/locales/activerecord/fr.yml +77 -0
- data/config/locales/admin/actuality/en.yml +30 -0
- data/config/locales/admin/actuality/fr.yml +30 -0
- data/config/locales/admin/block/en.yml +38 -0
- data/config/locales/admin/block/fr.yml +38 -0
- data/config/locales/admin/carousel/en.yml +24 -0
- data/config/locales/admin/carousel/fr.yml +24 -0
- data/config/locales/admin/menu/en.yml +33 -0
- data/config/locales/admin/menu/fr.yml +38 -0
- data/config/locales/admin/newsletter/en.yml +30 -0
- data/config/locales/admin/newsletter/fr.yml +30 -0
- data/config/locales/admin/page/en.yml +77 -0
- data/config/locales/admin/page/fr.yml +77 -0
- data/config/locales/admin/section/en.yml +23 -0
- data/config/locales/admin/section/fr.yml +23 -0
- data/config/locales/admin/static_content_block/en.yml +43 -0
- data/config/locales/admin/static_content_block/fr.yml +42 -0
- data/config/locales/admin/widget/en.yml +34 -0
- data/config/locales/admin/widget/fr.yml +34 -0
- data/config/locales/admin/widget_actuality/en.yml +23 -0
- data/config/locales/admin/widget_actuality/fr.yml +23 -0
- data/config/locales/admin/widget_faq/en.yml +22 -0
- data/config/locales/admin/widget_faq/fr.yml +30 -0
- data/config/locales/common/en.yml +208 -0
- data/config/locales/common/fr.yml +209 -0
- data/config/routes.rb +73 -0
- data/db/fixtures/menu_link_translations.yml +5 -0
- data/db/fixtures/menu_links.yml +5 -0
- data/db/fixtures/menus.yml +3 -0
- data/db/fixtures/page_translations.yml +19 -0
- data/db/fixtures/pages.yml +5 -0
- data/db/fixtures/people.yml +11 -0
- data/db/migrate/20091009134405_create_actualities.rb +18 -0
- data/db/migrate/20091009134503_create_blocks.rb +15 -0
- data/db/migrate/20091009134510_create_blocks_pages.rb +13 -0
- data/db/migrate/20091009134518_create_carousel_items.rb +17 -0
- data/db/migrate/20091009134729_create_pages.rb +18 -0
- data/db/migrate/20091009134736_create_pages_links.rb +12 -0
- data/db/migrate/20091027153116_create_menus.rb +14 -0
- data/db/migrate/20091027153659_create_menu_links.rb +19 -0
- data/db/migrate/20091208113459_create_page_translations.rb +9 -0
- data/db/migrate/20091208113460_create_block_translations.rb +9 -0
- data/db/migrate/20091208113461_create_menu_link_translations.rb +9 -0
- data/db/migrate/20091208170256_remove_translations_to_page.rb +10 -0
- data/db/migrate/20091208170257_remove_translations_to_block.rb +9 -0
- data/db/migrate/20091208170258_remove_translations_to_menu_link.rb +9 -0
- data/db/migrate/20100203102853_add_actuality_translations.rb +9 -0
- data/db/migrate/20100203102914_add_carousel_item_translations.rb +9 -0
- data/db/migrate/20100203125804_remove_translated_columns_to_actualities.rb +9 -0
- data/db/migrate/20100203125820_remove_translated_columns_to_carousel_items.rb +10 -0
- data/db/migrate/20100405095844_create_page_cols_table.rb +12 -0
- data/db/migrate/20100405101416_create_blocks_page_cols.rb +13 -0
- data/db/migrate/20100407093551_create_table_translation_for_page_cols.rb +13 -0
- data/db/migrate/20100413134832_add_index_on_menu_links.rb +11 -0
- data/db/migrate/20100501150819_add_code_to_pages.rb +13 -0
- data/db/migrate/20100511161012_create_faqs.rb +13 -0
- data/db/migrate/20100526163534_add_popup_to_menu_link.rb +9 -0
- data/db/migrate/20100929183346_change_answer_type.rb +9 -0
- data/db/migrate/20101015095242_update_actualities.rb +11 -0
- data/db/migrate/20101216155044_create_newsletter.rb +12 -0
- data/db/migrate/20110310092311_add_indexes_to_menu.rb +9 -0
- data/db/migrate/20110408133955_add_summary_to_menu_link_translations.rb +7 -0
- data/lib/forgeos/admin_menu.rb +14 -0
- data/lib/forgeos/cms.rb +8 -0
- data/lib/forgeos/cms/engine.rb +8 -0
- data/lib/forgeos/cms/statistics.rb +16 -0
- data/lib/forgeos_cms.rb +3 -0
- data/lib/tasks/install.rake +9 -0
- data/lib/tasks/upgrade.rake +22 -0
- data/recipes/deploy.rb +14 -0
- metadata +375 -0
File without changes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
!!!
|
2
|
+
%html{ "xml:lang" => I18n.locale, :lang => I18n.locale, :xmlns => "http://www.w3.org/1999/xhtml" }
|
3
|
+
%head
|
4
|
+
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
5
|
+
%title
|
6
|
+
= yield :title
|
7
|
+
|
|
8
|
+
= Setting.first.name
|
9
|
+
- if kw = yield(:meta_keywords) and !kw.blank?
|
10
|
+
%meta{ :name => 'keywords', :content => kw}
|
11
|
+
- if desc = yield(:meta_description) and !desc.blank?
|
12
|
+
%meta{ :name => 'description', :content => desc }
|
13
|
+
%meta{ :name => 'generator', :content => 'Forgeos Cms 0.9.5' }
|
14
|
+
= yield :meta
|
15
|
+
|
16
|
+
%link{ :href => "favicon.ico", :rel => "icon", :type => "image/x-icon" }
|
17
|
+
%link{ :href => "favicon.ico", :rel => "shortcut icon", :type => "image/x-icon" }
|
18
|
+
= stylesheet_link_tag 'application'
|
19
|
+
%body
|
20
|
+
= display_menu(@menu) if @menu
|
21
|
+
= yield
|
@@ -0,0 +1,15 @@
|
|
1
|
+
- object.blocks.each do |block|
|
2
|
+
- case block
|
3
|
+
- when Carousel
|
4
|
+
.carousel-list
|
5
|
+
%ul{ :id => "carousel_#{block.id}" }
|
6
|
+
- block.items.each do |item|
|
7
|
+
%li
|
8
|
+
= link_to image_tag(item.picture.public_filename(:normal), :alt => item.picture.name ), item.url
|
9
|
+
%span= item.title
|
10
|
+
- else
|
11
|
+
%div{ :id => "block_#{block.id}" }= block.content
|
12
|
+
%div{ :id => "page_#{object.id}" }= object.content
|
13
|
+
|
14
|
+
= render :partial => 'linked_pages', :locals => { :linked_pages => object.linked_pages }
|
15
|
+
= statistics_collector_tag(object)
|
@@ -0,0 +1,9 @@
|
|
1
|
+
- if @page
|
2
|
+
= render @page
|
3
|
+
- if @page.meta_info
|
4
|
+
- content_for :title, @page.meta_info.title
|
5
|
+
- content_for :meta_description, @page.meta_info.description
|
6
|
+
- content_for :meta_keywords, @page.meta_info.keywords
|
7
|
+
|
8
|
+
- else
|
9
|
+
= I18n.t('page_not_found').capitalize
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# Active record
|
2
|
+
en:
|
3
|
+
activerecord:
|
4
|
+
models:
|
5
|
+
block: block
|
6
|
+
carousel_item: carousel item
|
7
|
+
page: page
|
8
|
+
section: section
|
9
|
+
right: right
|
10
|
+
role: role
|
11
|
+
static_content_block: static content
|
12
|
+
carousel: carousel
|
13
|
+
widget_actuality: widget actualities
|
14
|
+
errors:
|
15
|
+
models:
|
16
|
+
section:
|
17
|
+
attributes:
|
18
|
+
base:
|
19
|
+
section_and_parent_must_be_differents: "section can't be its own parent"
|
20
|
+
parent_must_be_top_section: "parent section can't be a sub section"
|
21
|
+
messages:
|
22
|
+
has_single_key: is protected
|
23
|
+
attributes:
|
24
|
+
admin:
|
25
|
+
lastname: firstname
|
26
|
+
firstname: lastname
|
27
|
+
password: password
|
28
|
+
password_confirmation: password confirmation
|
29
|
+
email: email
|
30
|
+
block:
|
31
|
+
the_block: a block
|
32
|
+
title: title
|
33
|
+
content: content
|
34
|
+
page:
|
35
|
+
the_page: a page
|
36
|
+
title: title
|
37
|
+
content: content
|
38
|
+
url: url
|
39
|
+
single_key: unique identifier
|
40
|
+
right:
|
41
|
+
name: name
|
42
|
+
action_name: action name
|
43
|
+
controller_name: controller name
|
44
|
+
role:
|
45
|
+
name: name
|
46
|
+
section:
|
47
|
+
title: title
|
48
|
+
url: url
|
@@ -0,0 +1,77 @@
|
|
1
|
+
fr:
|
2
|
+
# Active record
|
3
|
+
fr:
|
4
|
+
activerecord:
|
5
|
+
models:
|
6
|
+
block: bloc
|
7
|
+
carousel_item: élément de carrousel
|
8
|
+
page: page
|
9
|
+
section: section
|
10
|
+
right: droit
|
11
|
+
role: rôle
|
12
|
+
static_content_block: contenu statique
|
13
|
+
carousel: carrousel
|
14
|
+
widget_actuality: "widget d'actualités"
|
15
|
+
errors:
|
16
|
+
models:
|
17
|
+
section:
|
18
|
+
attributes:
|
19
|
+
base:
|
20
|
+
section_and_parent_must_be_differents: 'la section parent ne peut pas être la section courante'
|
21
|
+
parent_must_be_top_section: 'la section parente ne peut pas être une sous-section'
|
22
|
+
messages:
|
23
|
+
confirmation: 'ne correspond pas avec la confirmation'
|
24
|
+
accepted: 'doit être accepté(e)'
|
25
|
+
blank: 'ne peut pas être vide'
|
26
|
+
too_short: 'est trop court'
|
27
|
+
too_long: 'est trop long'
|
28
|
+
wrong_length:
|
29
|
+
one: 'est de la mauvaise longueur (devrait être 1 caractère)'
|
30
|
+
other: 'est de la mauvaise longueur (devrait être %{count} caractères)'
|
31
|
+
taken: 'est déjà pris'
|
32
|
+
invalid: 'est invalide'
|
33
|
+
inclusion: "n'est pas inclus dans la liste"
|
34
|
+
exclusion: 'est réservé'
|
35
|
+
not_a_number: "n'est pas un nombre"
|
36
|
+
greater_than: 'doit être plus grand que %{count}'
|
37
|
+
greater_than_or_equal_to: 'doit être plus grand ou égal à %{count}'
|
38
|
+
equal_to: 'doit être égal à %{count}'
|
39
|
+
less_than: 'doit être plus petit que %{count}'
|
40
|
+
less_than_or_equal_to: 'doit être plus petit ou égal à %{count}'
|
41
|
+
odd: 'doit être paire'
|
42
|
+
even: 'doit être impaire'
|
43
|
+
# specific
|
44
|
+
has_single_key: 'est protégé(e)'
|
45
|
+
template:
|
46
|
+
header:
|
47
|
+
one: "1 erreur a empêché la sauvegarde de l'élément %{model}"
|
48
|
+
other: "%{count}} erreurs ont empêché la sauvegarde de l'élément {{model}"
|
49
|
+
body: 'Une erreur est survenue pour les champs suivants :'
|
50
|
+
|
51
|
+
|
52
|
+
attributes:
|
53
|
+
admin:
|
54
|
+
lastname: 'nom'
|
55
|
+
firstname: 'prénom'
|
56
|
+
password: 'mot de passe'
|
57
|
+
password_confirmation: 'confirmation mot de passe'
|
58
|
+
email: 'e-mail'
|
59
|
+
block:
|
60
|
+
the_block: 'le bloc'
|
61
|
+
title: 'titre'
|
62
|
+
content: 'contenu'
|
63
|
+
page:
|
64
|
+
the_page: 'la page'
|
65
|
+
title: 'titre'
|
66
|
+
content: 'contenu'
|
67
|
+
url: 'url'
|
68
|
+
single_key: 'identifiant unique'
|
69
|
+
right:
|
70
|
+
name: 'nom'
|
71
|
+
action_name: "nom de l'action"
|
72
|
+
controller_name: 'nom du contrôleur'
|
73
|
+
role:
|
74
|
+
name: 'nom'
|
75
|
+
section:
|
76
|
+
title: 'titre'
|
77
|
+
url: 'url'
|
@@ -0,0 +1,30 @@
|
|
1
|
+
en:
|
2
|
+
actuality:
|
3
|
+
one: 'actuality'
|
4
|
+
other: 'actualities'
|
5
|
+
author: 'author'
|
6
|
+
date: 'date'
|
7
|
+
show: 'show actualities'
|
8
|
+
none: 'no actualities'
|
9
|
+
add_comment: 'add a comment'
|
10
|
+
name: actuality title
|
11
|
+
create:
|
12
|
+
action: 'add an actuality'
|
13
|
+
success: 'the actuality was successfuly created'
|
14
|
+
failed: 'a problem occured during the actuality creation'
|
15
|
+
update:
|
16
|
+
success: 'the actuality was successfully updated'
|
17
|
+
failed: 'a problem occured during the actuality update'
|
18
|
+
action: 'edit actuality'
|
19
|
+
destroy:
|
20
|
+
action: 'delete the actuality'
|
21
|
+
success: 'the actuality was successfully deleted'
|
22
|
+
failed: 'a problem occured during the actuality deletion'
|
23
|
+
confirm: 'are you sure that you want to delete this actuality?'
|
24
|
+
picture:
|
25
|
+
change: change the picture
|
26
|
+
add: add a picture
|
27
|
+
create: add a picture
|
28
|
+
name: picture
|
29
|
+
visual:
|
30
|
+
add: add a picture
|
@@ -0,0 +1,30 @@
|
|
1
|
+
fr:
|
2
|
+
actuality:
|
3
|
+
one: 'actualité'
|
4
|
+
other: 'actualités'
|
5
|
+
author: 'auteur'
|
6
|
+
date: 'date'
|
7
|
+
show: "voir l'actualité"
|
8
|
+
none: 'aucune actualité'
|
9
|
+
add_comment: 'commenter'
|
10
|
+
name: "titre de l'actualité"
|
11
|
+
create:
|
12
|
+
action: 'ajouter une actualité'
|
13
|
+
success: "l'actualité a bien été créé"
|
14
|
+
failed: "un problème est survenu lors de la création de l'actualité"
|
15
|
+
update:
|
16
|
+
action: "éditer l'actualité"
|
17
|
+
success: "l'actualité a bien été mis à jour"
|
18
|
+
failed: "un problème est survenu lors de la mise à jour de l'actualité"
|
19
|
+
destroy:
|
20
|
+
action: "supprimer l'actualité"
|
21
|
+
success: "l'actualité a bien été supprimé"
|
22
|
+
failed: "un problème est survenu lors de la suppression de l'actualité"
|
23
|
+
confirm: 'êtes-vous sûr de vouloir supprimer cette actualité ?'
|
24
|
+
picture:
|
25
|
+
change: changer la photo
|
26
|
+
add: ajouter une photo
|
27
|
+
create: ajouter une photo
|
28
|
+
name: "photo de l'article"
|
29
|
+
visual:
|
30
|
+
add: ajouter une photo
|
@@ -0,0 +1,38 @@
|
|
1
|
+
en:
|
2
|
+
block:
|
3
|
+
one: 'block'
|
4
|
+
other: 'blocks'
|
5
|
+
all: 'all blocks'
|
6
|
+
list: 'list of blocks'
|
7
|
+
none: 'no blocks'
|
8
|
+
show: "show block"
|
9
|
+
not_exist: 'the requested block does not exist'
|
10
|
+
link:
|
11
|
+
create:
|
12
|
+
action: 'link block to pages'
|
13
|
+
success: 'the block links were successfully created'
|
14
|
+
failed: "this block can't be linked to a page"
|
15
|
+
page_not_exist: 'the linked page does not exist'
|
16
|
+
update:
|
17
|
+
success: 'the block links were successfully updated'
|
18
|
+
failed: "the block links can't be updated"
|
19
|
+
destroy:
|
20
|
+
success: 'the block was successfully removed from this page'
|
21
|
+
create:
|
22
|
+
success: 'the block was successfully created'
|
23
|
+
failed: 'a problem occured during the block creation'
|
24
|
+
action: 'create block'
|
25
|
+
update:
|
26
|
+
success: 'the block was successfully updated'
|
27
|
+
failed: 'a problem occured during the block update'
|
28
|
+
action:
|
29
|
+
one: 'edit block'
|
30
|
+
other: 'edit blocks'
|
31
|
+
destroy:
|
32
|
+
success: 'the block was successfully deleted'
|
33
|
+
failed: 'a problem occured during the block deletion'
|
34
|
+
confirm: 'are you sure that you want to delete this block?'
|
35
|
+
confirm_associated: 'Are you sure that you want to delete this block? (it will be removed from all its associated pages)'
|
36
|
+
moved:
|
37
|
+
down: 'the block was successfully moved down'
|
38
|
+
up: 'the block was successfully moved up'
|
@@ -0,0 +1,38 @@
|
|
1
|
+
fr:
|
2
|
+
block:
|
3
|
+
one: bloc
|
4
|
+
other: blocs
|
5
|
+
all: tous les blocs
|
6
|
+
list: liste des blocs
|
7
|
+
none: aucun bloc
|
8
|
+
show: voir le bloc
|
9
|
+
not_exist: "le bloc sélectioné n'existe pas"
|
10
|
+
link:
|
11
|
+
create:
|
12
|
+
action: 'associer le bloc à des pages'
|
13
|
+
success: 'les liens de ce bloc statique ont bien été créés'
|
14
|
+
failed: 'ce bloc statique ne peut pas être lié à une image'
|
15
|
+
page_not_exist: "la page liée n'existe pas"
|
16
|
+
update:
|
17
|
+
success: 'les liens de ce bloc statique ont bien été modifiés'
|
18
|
+
failed: 'un problème est survenu lors de la mise à jour des liens du bloc statique'
|
19
|
+
destroy:
|
20
|
+
success: 'le bloc statique a bien été enlevé de cette page'
|
21
|
+
create:
|
22
|
+
success: 'le bloc statique a bien été créé'
|
23
|
+
failed: 'un problème est survenu lors de la création du bloc statique'
|
24
|
+
action: 'créer un bloc statique'
|
25
|
+
update:
|
26
|
+
success: 'le bloc statique a bien été mis à jour'
|
27
|
+
failed: 'un problème est survenu lors de la mise à jour du bloc statique'
|
28
|
+
action:
|
29
|
+
one: 'éditer le bloc statique'
|
30
|
+
other: 'éditer les blocs statiques'
|
31
|
+
destroy:
|
32
|
+
success: 'le bloc statique a bien été supprimé'
|
33
|
+
failed: 'un problème est survenu lors de la suppression du bloc statique'
|
34
|
+
confirm: 'êtes-vous sûr de vouloir supprimer ce bloc statique ?'
|
35
|
+
confirm_associated: 'êtes-vous sûr de vouloir supprimer ce bloc statique ? (il sera supprimé de toutes les pages associées)'
|
36
|
+
moved:
|
37
|
+
down: 'le bloc a bien été déplacé vers le bas'
|
38
|
+
up: 'le bloc a bien été déplacé vers le haut'
|
@@ -0,0 +1,24 @@
|
|
1
|
+
en:
|
2
|
+
carousel:
|
3
|
+
one: 'carousel'
|
4
|
+
other: 'carousels'
|
5
|
+
none: 'no carousels'
|
6
|
+
not_exist: 'the requested carousel does not exist'
|
7
|
+
list: 'list of carousels'
|
8
|
+
show: 'show carousel'
|
9
|
+
change_picture: 'change picture'
|
10
|
+
create:
|
11
|
+
action: 'create carousel'
|
12
|
+
success: 'the carousel was successfully created'
|
13
|
+
failed: "the carousel can't be created"
|
14
|
+
update:
|
15
|
+
action: 'edit carousel'
|
16
|
+
success: 'the carousel was successfully updated'
|
17
|
+
failed: "the carousel can't be updated"
|
18
|
+
destroy:
|
19
|
+
confirm: 'are you sure that you want to delete this carousel?'
|
20
|
+
success: 'the carousel was successfully deleted'
|
21
|
+
failed: "the carousel can't be deleted"
|
22
|
+
link:
|
23
|
+
create:
|
24
|
+
failed: 'the linked carousel does not exist'
|
@@ -0,0 +1,24 @@
|
|
1
|
+
fr:
|
2
|
+
carousel:
|
3
|
+
one: 'carrousel'
|
4
|
+
other: 'carrousels'
|
5
|
+
none: 'aucun carrousel'
|
6
|
+
not_exist: "le carrousel sélectionné n'existe pas"
|
7
|
+
list: 'liste des carrousels'
|
8
|
+
show: 'voir le carrousel'
|
9
|
+
change_picture: "changer l'image"
|
10
|
+
create:
|
11
|
+
action: 'créer un carrousel'
|
12
|
+
success: 'le carrousel a bien été créé'
|
13
|
+
failed: 'un problème est survenu lors de la création du carrousel'
|
14
|
+
update:
|
15
|
+
action: 'éditer le carrousel'
|
16
|
+
success: 'le carrousel a bien été mis à jour'
|
17
|
+
failed: 'un problème est survenu lors de la mise à jour du carrousel'
|
18
|
+
destroy:
|
19
|
+
confirm: 'êtes-vous sûr de vouloir supprimer ce carrousel ?'
|
20
|
+
success: 'le carrousel a bien été supprimé'
|
21
|
+
failed: 'un problème est survenu lors de la suppression du carrousel'
|
22
|
+
link:
|
23
|
+
create:
|
24
|
+
failed: "le carrousel lié n'existe pas"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
en:
|
2
|
+
menu:
|
3
|
+
one: menu
|
4
|
+
other: menus
|
5
|
+
none: no menus
|
6
|
+
all: all menus
|
7
|
+
show: show menu
|
8
|
+
back: back to menus list
|
9
|
+
duplicate: duplicate menu
|
10
|
+
not_exist: the requested menu does not exist
|
11
|
+
create:
|
12
|
+
success: the menu was successfully created
|
13
|
+
failed: a problem occured during the menu creation
|
14
|
+
action: create menu
|
15
|
+
update:
|
16
|
+
success: the menu was successfully updated
|
17
|
+
failed: a problem occured during the menu update
|
18
|
+
action: edit menu
|
19
|
+
destroy:
|
20
|
+
success: the menu was successfully deleted
|
21
|
+
failed: a problem occured during the menu deletion
|
22
|
+
confirm: are you sure that you want to delete this menu?
|
23
|
+
action: delete menu
|
24
|
+
link:
|
25
|
+
title: link title
|
26
|
+
add: add link
|
27
|
+
change: change
|
28
|
+
linked_to: linked to
|
29
|
+
visibility: visibility
|
30
|
+
popup: open in popup ?
|
31
|
+
clickable: this item is clickable
|
32
|
+
show: show in menu
|
33
|
+
hide: hidde in menu
|
@@ -0,0 +1,38 @@
|
|
1
|
+
fr:
|
2
|
+
menu:
|
3
|
+
one: menu
|
4
|
+
other: menus
|
5
|
+
none: aucun menu
|
6
|
+
all: tous les menus
|
7
|
+
show: voir le menu
|
8
|
+
back: retour vers les menus
|
9
|
+
duplicate: dupliquer le menu
|
10
|
+
not_exist: "le menu sélectionné n'existe pas"
|
11
|
+
create:
|
12
|
+
success: le menu a bien été créé
|
13
|
+
failed: un problème est survenu lors de la création du menu
|
14
|
+
action: créer un menu
|
15
|
+
update:
|
16
|
+
success: le menu a bien été mis à jour
|
17
|
+
failed: un problème est survenu lors de la mise à jour du menu
|
18
|
+
action: éditer le menu
|
19
|
+
destroy:
|
20
|
+
success: le menu a bien été supprimé
|
21
|
+
failed: un problème est survenu lors de la suppression du menu
|
22
|
+
confirm: êtes-vous sûr de vouloir supprimer ce menu ?
|
23
|
+
action: supprimer le menu
|
24
|
+
link:
|
25
|
+
title: titre du lien
|
26
|
+
add: ajouter un lien
|
27
|
+
change: changer
|
28
|
+
linked_to: lié à
|
29
|
+
visibility: visibilité
|
30
|
+
popup: nouvelle fenêtre/onglet ?
|
31
|
+
clickable: ce lien est cliquable
|
32
|
+
show: affiché
|
33
|
+
hide: caché
|
34
|
+
helpers:
|
35
|
+
label:
|
36
|
+
menu_links_attributes:
|
37
|
+
popup: nouvel onglet ?
|
38
|
+
summary: résumé
|