2017-06-12 16:13:22 +00:00
- if show_no_password_message?
2017-01-03 19:13:47 +00:00
.no-password-message.alert.alert-warning
2017-06-12 16:13:22 +00:00
- translation_params = { protocol: gitlab_config.protocol.upcase, set_password_link: link_to_set_password }
2017-06-07 20:13:44 +00: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 16:13:22 +00:00
= set_password_message.html_safe
2017-01-03 19:13:47 +00:00
.alert-link-group
2017-06-07 20:13:44 +00:00
= link_to _("Don't show again"), profile_path(user: {hide_no_password: true}), method: :put
2015-02-13 12:33:28 +00:00
|
2017-06-07 20:13:44 +00:00
= link_to _('Remind later'), '#', class: 'hide-no-password-message'