-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5419e02
commit 7a1e572
Showing
1 changed file
with
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{% extends "javascript.htm" %} | ||
|
||
{% load static %} | ||
{% load l10n %} | ||
{% load i18n %} | ||
|
||
{% block arches_translations %} | ||
{{ block.super }} | ||
<div class='arches-translations' | ||
required='{% trans "required" as required %} "{{ required|escapejs }}"' | ||
controlled-list='{% trans "Controlled List" as controlledList %} "{{ controlledList|escapejs }}"' | ||
unlabeled-item='{% trans "Unlabeled Item" as unlabeledItem %} "{{ unlabeledItem|escapejs }}"' | ||
select-a-controlled-list='{% trans "Select a controlled list" as selectAControlledList %} "{{ selectAControlledList|escapejs }}"' | ||
multiple-values='{% trans "Multiple Values" as multipleValues %} "{{ multipleValues|escapejs }}"' | ||
allow-selection-of-multiple-items='{% trans "Allow selection of multiple items" as allowSelectionOfMultipleItems %} "{{ allowSelectionOfMultipleItems|escapejs }}"' | ||
></div> | ||
{% endblock arches_translations %} | ||
|
||
|
||
{% block arches_urls %} | ||
{{ block.super }} | ||
<div class="arches-urls" | ||
controlled_lists="{% url 'controlled_lists' %}" | ||
controlled_list='(listid) => {return "{% url "controlled_list" "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" %}".replace("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa", listid)}' | ||
controlled_list_add="{% url 'controlled_list_add' %}" | ||
controlled_list_item='(itemid) => {return "{% url "controlled_list_item" "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" %}".replace("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa", itemid)}' | ||
controlled_list_item_add="{% url 'controlled_list_item_add' %}" | ||
controlled_list_item_value='(valueid) => {return "{% url "controlled_list_item_value" "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" %}".replace("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa", valueid)}' | ||
controlled_list_item_value_add="{% url 'controlled_list_item_value_add' %}" | ||
controlled_list_item_image='(imageid) => { return "{% url "controlled_list_item_image" "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" %}".replace("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa", imageid)}' | ||
controlled_list_item_image_add="{% url 'controlled_list_item_image_add' %}" | ||
controlled_list_item_image_metadata='(metadataid) => { return "{% url "controlled_list_item_image_metadata" "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" %}".replace("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa", metadataid)}' | ||
controlled_list_item_image_metadata_add="{% url 'controlled_list_item_image_metadata_add' %}" | ||
></div> | ||
{% endblock arches_urls %} |