summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/base.html10
-rw-r--r--ishtar_common/templates/ishtar/blocks/shortcut_menu.html2
2 files changed, 10 insertions, 2 deletions
diff --git a/ishtar_common/templates/base.html b/ishtar_common/templates/base.html
index a0cf154ac..cd7b00457 100644
--- a/ishtar_common/templates/base.html
+++ b/ishtar_common/templates/base.html
@@ -32,6 +32,14 @@
{% endblock %}
<script type='text/javascript'>
var shortcut_url = '{% url "shortcut-menu" %}';
+ var get_file_url = '{% url "get-file-shortcut" %}';
+ var get_own_file_url = '{% url "get-own-file-shortcut" %}';
+ var get_operation_url = '{% url "get-operation-shortcut" %}';
+ var get_own_operation_url = '{% url "get-own-operation-shortcut" %}';
+ var get_contextrecord_url = '{% url "get-contextrecord-shortcut" %}';
+ var get_own_contextrecord_url = '{% url "get-own-contextrecord-shortcut" %}';
+ var get_find_url = '{% url "get-find-shortcut" %}';
+ var get_own_find_url = '{% url "get-own-find-shortcut" %}';
var activate_all_search_msg = "{% trans 'Searches in the shortcut menu deals with all items.' %}";
var activate_own_search_msg = "{% trans 'Searches in the shortcut menu deals with only your items.' %}";
</script>
@@ -52,7 +60,7 @@
{% csrf_token %}
<label for='language_selector'>{% trans "Lang" %}{% trans ":"%} </label>
<select name="language" id='language_selector'>
- <option value="">-------</option>
+ <option value="">----------</option>
{% for lang in LANGUAGES %}
<option value="{{ lang.0 }}"{% ifequal LANGUAGE_CODE lang.0 %} selected='selected'{% endifequal %}>{{ lang.1 }}</option>
{% endfor %}
diff --git a/ishtar_common/templates/ishtar/blocks/shortcut_menu.html b/ishtar_common/templates/ishtar/blocks/shortcut_menu.html
index 520218083..8a0f694ae 100644
--- a/ishtar_common/templates/ishtar/blocks/shortcut_menu.html
+++ b/ishtar_common/templates/ishtar/blocks/shortcut_menu.html
@@ -16,7 +16,7 @@
<td><label for="current_{{model_name}}">{{lbl}}</label></td>
<td>
<select class='{{main_cls}} chosen-select' id='current_{{model_name}}'>
- <option class='normal' value=''>--</option>
+ <option class='normal' value=''>----------</option>
{% for val, label, selected, cls in items %}<option{% if cls %} class='{{cls}}'{% endif %} value='{{val}}'{% if selected %} selected="selected"{% endif %}>{% ifequal cls 'basket' %}&#xf291; {% endifequal %}{% ifequal cls 'green' %}&#xf058; {% endifequal %}{% ifequal cls 'orange' %}&#xf06a; {% endifequal %}{% ifequal cls 'red' %}&#xf071; {% endifequal %}{{label}}</option>
{% endfor %}</select>
</td>{% with 'show-'|add:model_name as model_url%}