backoffice: add label as tooltip for command icons (#29360)
This commit is contained in:
parent
77a56f8480
commit
1a0d0a91b7
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue