Commit 5df49f06 authored by Michal Čihař's avatar Michal Čihař

Use verbose name as title

parent ff50c76c
......@@ -264,7 +264,9 @@ def admin_boolean_icon(val):
valname = name_mapping[val]
icon_url = static('admin/img/icon-%s.gif' % valtype
)
return mark_safe(u'<img src="%s" alt="%s" />' % (icon_url, valname))
return mark_safe(u'<img src="%s" alt="%s" title="%s" />' % (
icon_url, valname, valname
))
@register.inclusion_tag('message.html')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment