Update (some) table actions to use icons together with text
Also: * Update the table actions anchors with the title attribute in order to display the verbose_name on hovering. * Restore proper alignment for "Filter" buttons (Chrome) Implements blueprint iconify-buttons Change-Id: I4d744e5104d78da3874b699fc2e27f34158926a7
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
{% if action.method != "GET" %}
|
||||
<button {{ action.attr_string|safe }} name="action" value="{{ action.get_param_name }}" type="submit">{% if action.handles_multiple %}{{ action.verbose_name_plural }}{% else %}{{ action.verbose_name }}{% endif %}</button>
|
||||
{% else %}
|
||||
<a href='{{ action.get_link_url }}' {{ action.attr_string|safe }}>{{ action.verbose_name }}</a>
|
||||
<a href='{{ action.get_link_url }}' title='{{ action.verbose_name }}' {{ action.attr_string|safe }}>{{ action.verbose_name }}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user