diff --git a/app/views/admin/communication/websites/_sidebar.html.erb b/app/views/admin/communication/websites/_sidebar.html.erb index c9b6d1d07be8bf13de08dc88b074b9aa0d2f70f7..2c170bb7653e10cc31c9d3345220424ffc906ff3 100644 --- a/app/views/admin/communication/websites/_sidebar.html.erb +++ b/app/views/admin/communication/websites/_sidebar.html.erb @@ -10,18 +10,18 @@ icon: Icon::COMMUNICATION_WEBSITE_HOME, ability: can?(:read, @website) }, - { - title: t('admin.communication.website.pages.structure'), - path: admin_communication_website_pages_path(website_id: @website), - icon: Icon::COMMUNICATION_WEBSITE_PAGES, - ability: can?(:read, Communication::Website::Page) - }, { title: Communication::Website::Post.model_name.human(count: 2), path: admin_communication_website_posts_path(website_id: @website), icon: Icon::COMMUNICATION_WEBSITE_POST, ability: can?(:read, Communication::Website::Post) }, + { + title: t('admin.communication.website.pages.structure'), + path: admin_communication_website_pages_path(website_id: @website), + icon: Icon::COMMUNICATION_WEBSITE_PAGES, + ability: can?(:read, Communication::Website::Page) + }, { title: Communication::Website::Menu.model_name.human(count: 2), path: admin_communication_website_menus_path(website_id: @website), diff --git a/app/views/admin/communication/websites/categories/_form.html.erb b/app/views/admin/communication/websites/categories/_form.html.erb index 4f541fc6b91383181ef9e27d1ec186c426afe5e5..ca666d4069c86caa7ba19209dfef336b8cb73d4b 100644 --- a/app/views/admin/communication/websites/categories/_form.html.erb +++ b/app/views/admin/communication/websites/categories/_form.html.erb @@ -10,7 +10,7 @@ </div> <div class="card-body"> <%= f.input :name %> - <%= f.input :text, as: :summernote %> + <%= f.input :text %> </div> </div> <div class="card"> diff --git a/app/views/admin/communication/websites/categories/static.html.erb b/app/views/admin/communication/websites/categories/static.html.erb index 6d3b3a71493bd56077b705613117b413c24102f0..99e07cb40c59b68339343a7c23a1b1901a2cb08e 100644 --- a/app/views/admin/communication/websites/categories/static.html.erb +++ b/app/views/admin/communication/websites/categories/static.html.erb @@ -8,5 +8,6 @@ position: <%= @about.position %> <%= render 'admin/communication/unsplash/static' %> description: > <%= prepare_text_for_static @about.description %> +description_short: > + <%= prepare_text_for_static @about.text %> --- -<%= prepare_html_for_static @about.text, @about.university %> diff --git a/config/locales/communication/en.yml b/config/locales/communication/en.yml index 605887c7a2cf5be0832a65e3e81376fc4458362b..9e5ff82da493839f35f4c0d1f63937a82bed19e9 100644 --- a/config/locales/communication/en.yml +++ b/config/locales/communication/en.yml @@ -68,7 +68,7 @@ en: communication/website/category: children: Children categories description: Meta Description - text: Text + text: Lead text featured_image: Featured image featured_image_alt: Alt text name: Name diff --git a/config/locales/communication/fr.yml b/config/locales/communication/fr.yml index dae18fff382e57bb9719e6eff711884157b97094..e7d418ad4774496865ffdb7c7e348c9498dae8c5 100644 --- a/config/locales/communication/fr.yml +++ b/config/locales/communication/fr.yml @@ -68,7 +68,7 @@ fr: communication/website/category: children: Catégories enfants description: Meta Description - text: Texte + text: Chapô featured_image: Image à la une featured_image_alt: Texte alternatif name: Nom