|
1 | | -.bootstrap-modal.modal.fade#notification-modal |
2 | | - .modal-dialog |
3 | | - .modal-content |
4 | | - .modal-header |
5 | | - h4.modal-title |
6 | | - = title |
7 | | - = button_tag class: 'btn-close', data: {'bs-dismiss': 'modal'} do |
8 | | - span.visually-hidden = t('common.button.close') |
9 | | - .modal-body#notification-modal-body |
10 | | - = yield |
11 | | - .modal-footer |
12 | | - - if defined?(confirm_notification_javascript) |
13 | | - = button_tag class: 'btn btn-important green-border', onclick: confirm_notification_javascript do |
14 | | - = t('common.button.confirm') |
15 | | - - elsif defined?(confirm_notification_button) |
16 | | - = button_to confirm_notification_button[:target], method: confirm_notification_button[:method], form_class: 'd-inline margin-right-5px', class: 'btn btn-important green-border' do |
17 | | - = t('common.button.confirm') |
18 | | - = button_tag class: 'btn btn-important red-border', data: {'bs-dismiss': 'modal'} do |
19 | | - = t('common.button.cancel') |
| 1 | += t('users.shared.notification_modal.delete_modal.content.intro') |
| 2 | +ul |
| 3 | + li |
| 4 | + = t('users.shared.notification_modal.delete_modal.content.tasks_header') |
| 5 | + ul |
| 6 | + li |
| 7 | + = t('users.shared.notification_modal.delete_modal.content.tasks_content') |
| 8 | + li |
| 9 | + = t('users.shared.notification_modal.delete_modal.content.groups_header') |
| 10 | + ul |
| 11 | + li |
| 12 | + = t('users.shared.notification_modal.delete_modal.content.groups_1') |
| 13 | + li |
| 14 | + = t('users.shared.notification_modal.delete_modal.content.groups_2') |
| 15 | + li |
| 16 | + = t('users.shared.notification_modal.delete_modal.content.groups_3') |
| 17 | + |
| 18 | +- content_for :modal_footer, flush: true do |
| 19 | + - if defined?(confirm_notification_javascript) |
| 20 | + = button_tag class: 'btn btn-important green-border', onclick: confirm_notification_javascript do |
| 21 | + = t('common.button.confirm') |
| 22 | + - elsif defined?(confirm_notification_button) |
| 23 | + = button_to confirm_notification_button[:target], method: confirm_notification_button[:method], form_class: 'd-inline margin-right-5px', class: 'btn btn-important green-border' do |
| 24 | + = t('common.button.confirm') |
| 25 | + = button_tag class: 'btn btn-important red-border', data: {'bs-dismiss': 'modal'} do |
| 26 | + = t('common.button.cancel') |
0 commit comments