backoffice: add label as tooltip for command icons (#29360)

This commit is contained in:
Frédéric Péters 2018-12-26 17:24:24 +01:00
parent 77a56f8480
commit 1a0d0a91b7
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ def command_icon(url, type, label=None, popup=False):
if popup:
rel = 'popup'
return htmltext('''<span class="%(type)s">
<a href="%(url)s" rel="%(rel)s">%(label)s</a>
<a href="%(url)s" rel="%(rel)s" title="%(label)s">%(label)s</a>
</span>''') % locals()
def error_page(section, error):