2017-06-12 12:13:22 -04:00
- if show_no_password_message?
2017-01-03 14:13:47 -05:00
.no-password-message.alert.alert-warning
2017-06-12 12:13:22 -04:00
- translation_params = { protocol: gitlab_config.protocol.upcase, set_password_link: link_to_set_password }
2017-06-07 16:13:44 -04:00
- set_password_message = _("You won't be able to pull or push project code via %{protocol} until you %{set_password_link} on your account") % translation_params
2017-06-12 12:13:22 -04:00
= set_password_message.html_safe
2017-01-03 14:13:47 -05:00
.alert-link-group
2017-06-07 16:13:44 -04:00
= link_to _("Don't show again"), profile_path(user: {hide_no_password: true}), method: :put
2015-02-13 07:33:28 -05:00
|
2017-06-07 16:13:44 -04:00
= link_to _('Remind later'), '#', class: 'hide-no-password-message'