diff --git a/app/views/admin/site_customization/content_blocks/_form.html.erb b/app/views/admin/site_customization/content_blocks/_form.html.erb index 9ca4eb36a..b5a692d87 100644 --- a/app/views/admin/site_customization/content_blocks/_form.html.erb +++ b/app/views/admin/site_customization/content_blocks/_form.html.erb @@ -15,7 +15,6 @@ <% end %> -
<%= f.label :name %> <%= f.select :name, SiteCustomization::ContentBlock::VALID_BLOCKS, label: false %> @@ -32,3 +31,17 @@
<% end %> + +

<%= t('.content_blocks_information') %>

+ +

<%= t('.content_block_about') %>

+ +

<%= t('.content_block_top_links_html') %>

+
+<li><a href="http://site1.com">Site 1</a></li>
+<li><a href="http://site2.com">Site 2</a></li>
+<li><a href="http://site3.com">Site 3</a></li>
+
+
+ +

<%= t('.content_block_footer_html') %>

diff --git a/config/locales/admin.en.yml b/config/locales/admin.en.yml index 12911c410..4ad60f2a4 100755 --- a/config/locales/admin.en.yml +++ b/config/locales/admin.en.yml @@ -481,6 +481,11 @@ en: title: Incomplete verifications site_customization: content_blocks: + form: + content_blocks_information: Information about content blocks + content_block_about: You can create HTML content blocks to be inserted in the header or the footer of your Consul. + content_block_top_links_html: "Header blocks (top_links) are blocks of links that must have this format:" + content_block_footer_html: "Footer blocks can have any format and can be used to insert Javascript, CSS or custom HTML." create: notice: Content block created successfully error: Content block couldn't be created diff --git a/config/locales/admin.es.yml b/config/locales/admin.es.yml index feb72e24c..96ff667df 100644 --- a/config/locales/admin.es.yml +++ b/config/locales/admin.es.yml @@ -481,6 +481,11 @@ es: title: Verificaciones incompletas site_customization: content_blocks: + form: + content_blocks_information: Información sobre los bloques de texto + content_block_about: Puedes crear bloques de HTML que se incrustarán en la cabecera o el pie de tu Cónsul. + content_block_top_links_html: "Los bloques de la cabecera (top_links) son bloques de enlaces que deben crearse con este formato:" + content_block_footer_html: "Los bloques del pie (footer) pueden tener cualquier formato y se pueden utilizar para guardar huellas Javascript, contenido CSS o contenido HTML personalizado." create: notice: Bloque creado correctamente error: No se ha podido crear el bloque