diff --git a/ckanext/schemingdcat/assets/css/schemingdcat.css b/ckanext/schemingdcat/assets/css/schemingdcat.css index f7f8453..96b7f70 100644 --- a/ckanext/schemingdcat/assets/css/schemingdcat.css +++ b/ckanext/schemingdcat/assets/css/schemingdcat.css @@ -39,6 +39,7 @@ --sct-secondary-color: #2f88a3; --sct-secondary-border-color: #00316426; --sct-secondary-bg-color: #0031641f; + --sct-grey-color: #6c757d; } body { @@ -3732,4 +3733,8 @@ input#lang-r:checked ~ div .example-r { right: 0; top: 60%; transform: translateY(-40%); +} + +.text-muted { + color: var(--sct-grey-color); } \ No newline at end of file diff --git a/ckanext/schemingdcat/i18n/ckanext-schemingdcat.pot b/ckanext/schemingdcat/i18n/ckanext-schemingdcat.pot index f90ca3e..d81147e 100644 --- a/ckanext/schemingdcat/i18n/ckanext-schemingdcat.pot +++ b/ckanext/schemingdcat/i18n/ckanext-schemingdcat.pot @@ -1142,6 +1142,10 @@ msgstr "" msgid "You are not authorized to change this field. Only a admin can publish a dataset that has already been created." msgstr "" +#: ckanext/schemingdcat/templates/schemingdcat/form_snippets/custom_identifier.html +msgid "Waiting for Metadata completion..." +msgstr "" + # Themes (NTI-RISP) - Schema field_name: theme_es msgid "ciencia-tecnologia" msgstr "" diff --git a/ckanext/schemingdcat/i18n/en/LC_MESSAGES/ckanext-schemingdcat.mo b/ckanext/schemingdcat/i18n/en/LC_MESSAGES/ckanext-schemingdcat.mo index 25da7a6..a4bd7da 100644 Binary files a/ckanext/schemingdcat/i18n/en/LC_MESSAGES/ckanext-schemingdcat.mo and b/ckanext/schemingdcat/i18n/en/LC_MESSAGES/ckanext-schemingdcat.mo differ diff --git a/ckanext/schemingdcat/i18n/en/LC_MESSAGES/ckanext-schemingdcat.po b/ckanext/schemingdcat/i18n/en/LC_MESSAGES/ckanext-schemingdcat.po index 4bd66de..2584729 100644 --- a/ckanext/schemingdcat/i18n/en/LC_MESSAGES/ckanext-schemingdcat.po +++ b/ckanext/schemingdcat/i18n/en/LC_MESSAGES/ckanext-schemingdcat.po @@ -1137,6 +1137,10 @@ msgstr "None - top level" msgid "You are not authorized to change this field. Only a admin can publish a dataset that has already been created." msgstr "You are not authorized to change this field. Only a admin can publish a dataset that has already been created." +#: ckanext/schemingdcat/templates/schemingdcat/form_snippets/custom_identifier.html +msgid "Waiting for Metadata completion..." +msgstr "Waiting for Metadata completion..." + # Themes (NTI-RISP) - Schema field_name: theme_es msgid "ciencia-tecnologia" msgstr "Science and technology" diff --git a/ckanext/schemingdcat/i18n/es/LC_MESSAGES/ckanext-schemingdcat.mo b/ckanext/schemingdcat/i18n/es/LC_MESSAGES/ckanext-schemingdcat.mo index 67876b2..6563789 100644 Binary files a/ckanext/schemingdcat/i18n/es/LC_MESSAGES/ckanext-schemingdcat.mo and b/ckanext/schemingdcat/i18n/es/LC_MESSAGES/ckanext-schemingdcat.mo differ diff --git a/ckanext/schemingdcat/i18n/es/LC_MESSAGES/ckanext-schemingdcat.po b/ckanext/schemingdcat/i18n/es/LC_MESSAGES/ckanext-schemingdcat.po index a1d9e2d..eb47d46 100644 --- a/ckanext/schemingdcat/i18n/es/LC_MESSAGES/ckanext-schemingdcat.po +++ b/ckanext/schemingdcat/i18n/es/LC_MESSAGES/ckanext-schemingdcat.po @@ -1142,6 +1142,10 @@ msgstr "Ninguna - nivel superior" msgid "You are not authorized to change this field. Only a admin can publish a dataset that has already been created." msgstr "No está autorizado a modificar este campo. Solo un administrador puede publicar un conjunto de datos ya creado." +#: ckanext/schemingdcat/templates/schemingdcat/form_snippets/custom_identifier.html +msgid "Waiting for Metadata completion..." +msgstr "Esperando a la finalización del Metadato..." + # Themes (NTI-RISP) - Schema field_name: theme_es msgid "ciencia-tecnologia" msgstr "Ciencia y tecnología" diff --git a/ckanext/schemingdcat/templates/schemingdcat/form_snippets/custom_identifier.html b/ckanext/schemingdcat/templates/schemingdcat/form_snippets/custom_identifier.html new file mode 100644 index 0000000..9470e41 --- /dev/null +++ b/ckanext/schemingdcat/templates/schemingdcat/form_snippets/custom_identifier.html @@ -0,0 +1,14 @@ +
+ + +
+ {% if data[field.field_name] %} + {{ data[field.field_name] }} + {% else %} + {{ _("Waiting for metadata fields") }} + {% endif %} +
+ + {% snippet 'scheming/form_snippets/help_text.html', field=field %} + +
\ No newline at end of file