2023-01-24 16:31:46 +01:00
|
|
|
.dropdown.print-menu-opener{ data: { controller: 'menu-button' } }
|
2022-05-11 16:08:48 +02:00
|
|
|
%button.button.dropdown-button.icon-only{ title: t('views.users.dossiers.show.header.print'), 'aria-label': 'imprimer', data: { menu_button_target: 'button' } }
|
2022-03-22 15:00:26 +01:00
|
|
|
%span.icon.printer
|
2022-05-11 16:08:48 +02:00
|
|
|
%ul#print-menu.print-menu.dropdown-content{ data: { menu_button_target: 'menu' } }
|
2022-03-22 15:00:26 +01:00
|
|
|
%li
|
|
|
|
= link_to t('views.users.dossiers.show.header.print_dossier'), dossier_path(dossier, format: :pdf), target: "_blank", rel: "noopener", class: "menu-item menu-link"
|