diff --git a/app/views/admin/communication/websites/pages/_list.html.erb b/app/views/admin/communication/websites/pages/_list.html.erb index 3308680ab11a8fdf4fb26f43bdcc59854865eec9..c6ae2e2b731ed857b9f1ce194066c47318da9aba 100644 --- a/app/views/admin/communication/websites/pages/_list.html.erb +++ b/app/views/admin/communication/websites/pages/_list.html.erb @@ -24,7 +24,7 @@ <% end %> </td> <td> - <% if page.full_width%> + <% if page.full_width %> <span class="badge bg-light text-black"> <%= Communication::Website::Page.human_attribute_name('full_width') %> </span> diff --git a/app/views/admin/communication/websites/pages/_treebranch.html.erb b/app/views/admin/communication/websites/pages/_treebranch.html.erb index 5ea7bf0c23cec1acc69eb6065bb98c0df4ff0313..1a40c45f77e4ee54c659da05aadfb607f75a257a 100644 --- a/app/views/admin/communication/websites/pages/_treebranch.html.erb +++ b/app/views/admin/communication/websites/pages/_treebranch.html.erb @@ -18,7 +18,7 @@ <% end %> </div> <div class="btn-group"> - <%= link_to 'Voir la page', admin_communication_website_page_path(page) %> + <%= link_to t('admin.communication.website.pages.show'), admin_communication_website_page_path(page) %> </div> </div> <ul class="list-unstyled treeview__children js-treeview-children <%= 'js-treeview-sortable-container' if can?(:reorder, page) %> ms-4" data-id="<%= page.id %>"> diff --git a/config/locales/communication/en.yml b/config/locales/communication/en.yml index e6db3b795816a1e0751006943c4cd14ba7e42903..d367f86beb6e42a846b2a39d391f87201d480a1a 100644 --- a/config/locales/communication/en.yml +++ b/config/locales/communication/en.yml @@ -672,6 +672,7 @@ en: as_tree: Organize structure delete_special_page_notice: Can't delete this page full_width_status: Full width + show: Show page structure: Pages published_status: Publication status post: diff --git a/config/locales/communication/fr.yml b/config/locales/communication/fr.yml index 275bbce886459c431fe0f43ea94c4a0b2acec641..cf157e7e98a3b4bf2a1d814aa94a3df60990d4ea 100644 --- a/config/locales/communication/fr.yml +++ b/config/locales/communication/fr.yml @@ -669,6 +669,7 @@ fr: as_tree: Organiser l'arborescence delete_special_page_notice: Impossible de supprimer cette page full_width_status: Pleine largeur + show: Voir la page structure: Pages published_status: État de publication post: