debian-mirror-gitlab/app/views/shared/_no_password.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
560 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- if show_no_password_message?
2022-06-21 17:19:12 +05:30
= render Pajamas::AlertComponent.new(variant: :warning,
2021-12-11 22:18:48 +05:30
alert_class: 'js-no-password-message',
2022-06-21 17:19:12 +05:30
close_button_class: 'js-hide-no-password-message') do
2020-11-24 15:15:51 +05:30
.gl-alert-body
2021-12-11 22:18:48 +05:30
= no_password_message
2020-11-24 15:15:51 +05:30
.gl-alert-actions
2021-12-11 22:18:48 +05:30
= link_to _('Remind later'), '#', class: 'js-hide-no-password-message gl-alert-action btn btn-confirm btn-md gl-button'
= link_to _("Don't show again"), profile_path(user: { hide_no_password: true }), method: :put, role: 'button', class: 'gl-alert-action btn btn-default btn-md gl-button'