summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2014-07-21 19:21:27 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2014-07-21 19:21:27 +0200
commita27dca4b361b0d2f46a20f9ac2719ef811c093e0 (patch)
tree5f38e92243a02add2b1e0176585f17f8c4aef7d6 /ishtar_common/templates
parent0cc64347e47a0c3117bb4514e6b966f651f552f4 (diff)
downloadIshtar-a27dca4b361b0d2f46a20f9ac2719ef811c093e0.tar.bz2
Ishtar-a27dca4b361b0d2f46a20f9ac2719ef811c093e0.zip
Colors and orders in short menu - cache mechanism (refs #1562)
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/base.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar_common/templates/base.html b/ishtar_common/templates/base.html
index cea906f26..bfacee069 100644
--- a/ishtar_common/templates/base.html
+++ b/ishtar_common/templates/base.html
@@ -63,13 +63,13 @@
<fieldset>
<legend>{% trans "Default selected items"%}</legend>
<table id='current_items'>
- {% for lbl, model_name, items in current_menu %}
+ {% for lbl, model_name, main_cls, items in current_menu %}
<tr>
<td><label for="current_{{model_name}}">{{lbl}}</label></td>
<td>
- <select id='current_{{model_name}}'>
- <option value=''>--</option>
- {% for val, label, selected in items %}<option value='{{val}}'{%if selected%} selected="selected"{%endif%}>{{label}}</option>
+ <select class='{{main_cls}}' id='current_{{model_name}}'>
+ <option class='normal' value=''>--</option>
+ {% for val, label, selected, cls in items %}<option class='{{cls}}' value='{{val}}'{%if selected%} selected="selected"{%endif%}>{{label}}</option>
{% endfor %}</select>
</td>{% with 'show-'|add:model_name as model_url%}
<td><a href='#' onclick='load_current_window("{% url model_url 0 %}", "{{model_name}}");' class='display_details'>{% trans "Details" %}</a></td>