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:
Julie Pichon
2013-02-16 22:30:19 +00:00
parent 900572260b
commit 4ae4a22bf6
3 changed files with 51 additions and 6 deletions

View File

@@ -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 %}