diff --git a/src/Resources/views/themes/bootstrap_5.html.twig b/src/Resources/views/themes/bootstrap_5.html.twig index 073d02d5..f9ead4e0 100755 --- a/src/Resources/views/themes/bootstrap_5.html.twig +++ b/src/Resources/views/themes/bootstrap_5.html.twig @@ -138,6 +138,7 @@ 'data-bs-target': '#' ~ filtration_form.vars.id ~ '__collapse', 'aria-expanded': 'false', 'aria-controls': filtration_form.vars.id ~ '__collapse', + 'title': 'Filter'|trans({}, 'KreyuDataTable'), }|merge(attr|default({})) %} @@ -155,6 +156,7 @@ 'type': 'button', 'data-bs-toggle': 'modal', 'data-bs-target': '#' ~ export_form.vars.id ~ '__modal', + 'title': 'Export'|trans({}, 'KreyuDataTable'), }|merge(attr|default({})) %} @@ -172,6 +174,7 @@ 'type': 'button', 'data-bs-toggle': 'modal', 'data-bs-target': '#' ~ personalization_form.vars.id ~ '__modal', + 'title': 'Personalize'|trans({}, 'KreyuDataTable'), }|merge(attr|default({})) %} diff --git a/src/Resources/views/themes/tabler.html.twig b/src/Resources/views/themes/tabler.html.twig index c7b90a7f..a49eeb83 100755 --- a/src/Resources/views/themes/tabler.html.twig +++ b/src/Resources/views/themes/tabler.html.twig @@ -34,7 +34,7 @@ {% endblock %} {% block action_filter %} - {% with { attr: { class: 'btn btn-primary btn-icon' } } %} + {% with { attr: { class: 'btn btn-primary btn-icon', title: 'Filter'|trans({}, 'KreyuDataTable') } } %} {{ parent() }} {% endwith %} {% endblock %} @@ -47,7 +47,7 @@ {% endblock %} {% block action_export %} - {% with { attr: { class: 'btn btn-primary btn-icon' } } %} + {% with { attr: { class: 'btn btn-primary btn-icon', title: 'Export'|trans({}, 'KreyuDataTable') } } %} {{ parent() }} {% endwith %} {% endblock %} @@ -64,7 +64,7 @@ {% endblock %} {% block action_personalize %} - {% with { attr: { class: 'btn btn-primary btn-icon' } } %} + {% with { attr: { class: 'btn btn-primary btn-icon', title: 'Personalize'|trans({}, 'KreyuDataTable') } } %} {{ parent() }} {% endwith %} {% endblock %}