summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/base.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-06-06 08:00:03 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-06-06 08:00:03 +0200
commit6f7b9f516855f8b468e0397f28d303725bc14c97 (patch)
treedd2c836fc8230e8d3cd04c4cf4e8cf4b93df7281 /ishtar_common/templates/base.html
parentf1f612d82014afa7c5612f998ae4c58bc4d65302 (diff)
downloadIshtar-6f7b9f516855f8b468e0397f28d303725bc14c97.tar.bz2
Ishtar-6f7b9f516855f8b468e0397f28d303725bc14c97.zip
CSS: fix short menu issue
Diffstat (limited to 'ishtar_common/templates/base.html')
-rw-r--r--ishtar_common/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/templates/base.html b/ishtar_common/templates/base.html
index 1bab3d647..9339df178 100644
--- a/ishtar_common/templates/base.html
+++ b/ishtar_common/templates/base.html
@@ -74,7 +74,7 @@
<td>
<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>
+ {% for val, label, selected, cls in items %}<option{% if cls %} class='{{cls}}'{% endif %} 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>