Changed primary class with warning class in the callout. Added strong text into documents.yml for esp and eng.
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
593da5e76b
commit
45fc5c4fa2
@@ -3,8 +3,8 @@
|
|||||||
<% if documents.size == max_documents_allowed && can?(:create, Document) %>
|
<% if documents.size == max_documents_allowed && can?(:create, Document) %>
|
||||||
<div class="row documents-list">
|
<div class="row documents-list">
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<div class="callout primary text-center">
|
<div class="callout warning text-center">
|
||||||
<%= t "documents.max_documents_allowed_reached" %>
|
<%= t "documents.max_documents_allowed_reached_html" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ en:
|
|||||||
tab: Documents
|
tab: Documents
|
||||||
no_documents: Don't have uploaded documents
|
no_documents: Don't have uploaded documents
|
||||||
upload_document: Upload document
|
upload_document: Upload document
|
||||||
max_documents_allowed_reached: You have reached the maximum number of documents allowed! You have to delete one before you can upload another.
|
max_documents_allowed_reached_html: You have reached the maximum number of documents allowed! <strong>You have to delete one before you can upload another.</strong>
|
||||||
form:
|
form:
|
||||||
attachment_label: Choose attachment file
|
attachment_label: Choose attachment file
|
||||||
submit_button: Upload document
|
submit_button: Upload document
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ es:
|
|||||||
tab: Documentos
|
tab: Documentos
|
||||||
no_documents: No hay documentos subidos
|
no_documents: No hay documentos subidos
|
||||||
upload_document: Subir documento
|
upload_document: Subir documento
|
||||||
max_documents_allowed_reached: ¡Has alcanzado el número máximo de documentos permitidos! Tienes que eliminar uno antes de poder subir otro.
|
max_documents_allowed_reached_html: ¡Has alcanzado el número máximo de documentos permitidos! <strong>Tienes que eliminar uno antes de poder subir otro.</strong>
|
||||||
form:
|
form:
|
||||||
attachment_label: Selecciona un archivo
|
attachment_label: Selecciona un archivo
|
||||||
submit_button: Subir documento
|
submit_button: Subir documento
|
||||||
|
|||||||
Reference in New Issue
Block a user