forked from OpenDataGIS/ckanext-facet_scheming
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add custom identifier template and update translations for metadata c…
…ompletion message
- Loading branch information
Showing
7 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+86 Bytes
(100%)
ckanext/schemingdcat/i18n/en/LC_MESSAGES/ckanext-schemingdcat.mo
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+96 Bytes
(100%)
ckanext/schemingdcat/i18n/es/LC_MESSAGES/ckanext-schemingdcat.mo
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
ckanext/schemingdcat/templates/schemingdcat/form_snippets/custom_identifier.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="form-group control-medium control-select"> | ||
<label class="form-label" for="{{ for }}">{% if h.scheming_field_required(field) %}<span title="{{ _("This field is required") }}" class="control-required">*</span> {% endif %}{{ h.scheming_language_text(field.label) or _('Custom') }}</label> | ||
|
||
<div class="controls form-readonly-control"> | ||
{% if data[field.field_name] %} | ||
{{ data[field.field_name] }} | ||
{% else %} | ||
<em class="text-muted">{{ _("Waiting for metadata fields") }}</em> | ||
{% endif %} | ||
</div> | ||
|
||
{% snippet 'scheming/form_snippets/help_text.html', field=field %} | ||
|
||
</div> |