Add option for list filter quick remove. #183
* add option for list filter quick remove * move transform from css to python * make template tag more resilient for unusual filters * fix tests * rename field, move rendering to template, change style * fix tests
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{% load admin_interface_tags %}
|
||||
{% if spec.lookup_val or spec.value %}
|
||||
<div class="changelist-filter-clear"><a href="{% admin_interface_clear_filter_qs cl spec %}">
|
||||
{{ title|capfirst }}: <span>{{ selected_value }}</span> ✖
|
||||
</a></div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user