Add information about content blocks
This commit is contained in:
committed by
Amaia Castro
parent
3a275ea850
commit
e126a2ded0
@@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
||||||
<div class="small-12 medium-6 column">
|
<div class="small-12 medium-6 column">
|
||||||
<%= f.label :name %>
|
<%= f.label :name %>
|
||||||
<%= f.select :name, SiteCustomization::ContentBlock::VALID_BLOCKS, label: false %>
|
<%= f.select :name, SiteCustomization::ContentBlock::VALID_BLOCKS, label: false %>
|
||||||
@@ -32,3 +31,17 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<h4><%= t('.content_blocks_information') %></h4>
|
||||||
|
|
||||||
|
<p><%= t('.content_block_about') %></p>
|
||||||
|
|
||||||
|
<p><%= t('.content_block_top_links_html') %></p>
|
||||||
|
<pre>
|
||||||
|
<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>
|
||||||
|
</pre>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<p><%= t('.content_block_footer_html') %></p>
|
||||||
|
|||||||
@@ -481,6 +481,11 @@ en:
|
|||||||
title: Incomplete verifications
|
title: Incomplete verifications
|
||||||
site_customization:
|
site_customization:
|
||||||
content_blocks:
|
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: "<strong>Header blocks (top_links)</strong> are blocks of links that must have this format:"
|
||||||
|
content_block_footer_html: "<strong>Footer blocks</strong> can have any format and can be used to insert Javascript, CSS or custom HTML."
|
||||||
create:
|
create:
|
||||||
notice: Content block created successfully
|
notice: Content block created successfully
|
||||||
error: Content block couldn't be created
|
error: Content block couldn't be created
|
||||||
|
|||||||
@@ -481,6 +481,11 @@ es:
|
|||||||
title: Verificaciones incompletas
|
title: Verificaciones incompletas
|
||||||
site_customization:
|
site_customization:
|
||||||
content_blocks:
|
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 <strong>bloques de la cabecera (top_links)</strong> son bloques de enlaces que deben crearse con este formato:"
|
||||||
|
content_block_footer_html: "Los <strong>bloques del pie (footer)</strong> pueden tener cualquier formato y se pueden utilizar para guardar huellas Javascript, contenido CSS o contenido HTML personalizado."
|
||||||
create:
|
create:
|
||||||
notice: Bloque creado correctamente
|
notice: Bloque creado correctamente
|
||||||
error: No se ha podido crear el bloque
|
error: No se ha podido crear el bloque
|
||||||
|
|||||||
Reference in New Issue
Block a user