Show toolbar tooltips with access keys for buttons without description.
[redakcja.git] / src / toolbar / templates / toolbar / button.html
index cdffcaf..fb734a3 100644 (file)
@@ -1,13 +1,13 @@
 {% if button.link %}
-<a href="{{button.link}}" target="_blank">
+<a class="btn btn-outline-secondary" href="{{button.link}}" target="_blank">
 {% endif %}
-<button type="button"
+<button type="button" class="btn btn-info btn-sm"
        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 }}
 </button>
 {% if button.link %}
 </a>
-{% endif %}
\ No newline at end of file
+{% endif %}