From: Radek Czajka Date: Thu, 22 Apr 2021 09:14:14 +0000 (+0200) Subject: Show toolbar tooltips with access keys for buttons without description. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/c93028e049f34e5718d6d93ce4c63e93cba520d5?ds=sidebyside;hp=ab3c4f696564e0f8cad64ff3f3123d4f6fac4361 Show toolbar tooltips with access keys for buttons without description. --- diff --git a/src/toolbar/templates/toolbar/button.html b/src/toolbar/templates/toolbar/button.html index 24eb60d0..fb734a36 100644 --- a/src/toolbar/templates/toolbar/button.html +++ b/src/toolbar/templates/toolbar/button.html @@ -5,7 +5,7 @@ data-ui-action="{{ button.scriptlet_id }}" data-ui-action-params="{{ button.params|escape }}" data-ui-accesskey="{{ button.accesskey }}" - {% if button.tooltip %}title="{{ button.full_tooltip }}"{% endif %} > + title="{{ button.full_tooltip }}"> {{ button.label|safe }} {% if button.link %}