diff options
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 |
commit | 6f7b9f516855f8b468e0397f28d303725bc14c97 (patch) | |
tree | dd2c836fc8230e8d3cd04c4cf4e8cf4b93df7281 | |
parent | f1f612d82014afa7c5612f998ae4c58bc4d65302 (diff) | |
download | Ishtar-6f7b9f516855f8b468e0397f28d303725bc14c97.tar.bz2 Ishtar-6f7b9f516855f8b468e0397f28d303725bc14c97.zip |
CSS: fix short menu issue
-rw-r--r-- | ishtar_common/static/media/style.css | 2 | ||||
-rw-r--r-- | ishtar_common/templates/base.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/static/media/style.css b/ishtar_common/static/media/style.css index 1d47bcbd9..09f74f28d 100644 --- a/ishtar_common/static/media/style.css +++ b/ishtar_common/static/media/style.css @@ -45,7 +45,7 @@ a.add-button, color:#000; } -#context_menu .basket{ +#context_menu option.basket{ color:#000; font-weight: bold; font-style: italic; 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> |