diff --git a/app/views/admin/communication/blocks/_static.html.erb b/app/views/admin/communication/blocks/_static.html.erb index 226c469b0b03cbf5e8dce44e4c7ba2999e6bfb0d..91043c303733985714b21743dd3a27e2f941abf8 100644 --- a/app/views/admin/communication/blocks/_static.html.erb +++ b/app/views/admin/communication/blocks/_static.html.erb @@ -4,6 +4,8 @@ should_render_data = block.data && block.data.present? %> - kind: block template: <%= block.template_kind %> + name: > + <%= prepare_text_for_static block.title %> position: <%= block.position %> data: <%= render template_path, diff --git a/config/locales/communication/en.yml b/config/locales/communication/en.yml index f397df85fd99018fdd1e800a32686b54852470d8..3c3c03fca78be80d4c77a5bc6ab810b7e135658b 100644 --- a/config/locales/communication/en.yml +++ b/config/locales/communication/en.yml @@ -58,7 +58,7 @@ en: all: All posts attributes: communication/block: - title: Heading + title: Name template: Kind of block published: Published? communication/block/heading: diff --git a/config/locales/communication/fr.yml b/config/locales/communication/fr.yml index 1ac4e892ac636078b97bee7a38f190884a581748..5cda1ef34dfe43b192d81d46a030e8a8a3fd2757 100644 --- a/config/locales/communication/fr.yml +++ b/config/locales/communication/fr.yml @@ -58,7 +58,7 @@ fr: all: Toutes les actualités attributes: communication/block: - title: Intitulé + title: Nom template: Type de bloc published: Publié ? communication/block/heading: