Commit b1f36dd0d5410bf32dac766845f79fc95ba88a80
1 parent
783f7ee0
Exists in
master
and in
13 other branches
Fixing remove filter feedback
Showing
2 changed files
with
11 additions
and
2 deletions
Show diff stats
src/colab/static/css/screen.css
@@ -184,6 +184,15 @@ ul.indent-dois { | @@ -184,6 +184,15 @@ ul.indent-dois { | ||
184 | margin: 0; | 184 | margin: 0; |
185 | } | 185 | } |
186 | 186 | ||
187 | +.selected .glyphicon-remove { | ||
188 | + color: #f00; | ||
189 | +} | ||
190 | + | ||
191 | +.selected a { | ||
192 | + color: #000; | ||
193 | + font-weight: bold; | ||
194 | +} | ||
195 | + | ||
187 | /* Converse JS */ | 196 | /* Converse JS */ |
188 | 197 | ||
189 | #chatpanel form#converse-login { | 198 | #chatpanel form#converse-login { |
src/super_archives/templates/message-list.html
@@ -24,8 +24,8 @@ | @@ -24,8 +24,8 @@ | ||
24 | <h4>{% trans "Lists" %}</h4> | 24 | <h4>{% trans "Lists" %}</h4> |
25 | <ul class="none"> | 25 | <ul class="none"> |
26 | {% for list in lists %} | 26 | {% for list in lists %} |
27 | - <li {% ifequal list.name selected_list %} title="{% trans "Remove filter" %}" {% endifequal %}> | ||
28 | - <span class="glyphicon glyphicon-chevron-right"></span> <a href="{% ifnotequal list.name selected_list %} {% append_to_get list=list.name,p=1 %} {% else %} {% append_to_get list="",p=1 %} | 27 | + <li {% if list.name == selected_list %} title="{% trans "Remove filter" %}" class="selected" {% endif %}> |
28 | + <span class="glyphicon {% if list.name == selected_list %}glyphicon-remove{% else %}glyphicon-chevron-right{% endif %}"></span> <a href="{% ifnotequal list.name selected_list %} {% append_to_get list=list.name,p=1 %} {% else %} {% append_to_get list="",p=1 %} | ||
29 | {% endifnotequal %}">{{ list.name }}</a></li> | 29 | {% endifnotequal %}">{{ list.name }}</a></li> |
30 | {% endfor %} | 30 | {% endfor %} |
31 | </ul> | 31 | </ul> |