gitlab-org--gitlab-foss/app/views/shared/_no_password.html.haml

10 lines
590 B
Text
Raw Normal View History

- if show_no_password_message?
.no-password-message.alert.alert-warning
- 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
= set_password_message.html_safe
.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
|
2017-06-07 16:13:44 -04:00
= link_to _('Remind later'), '#', class: 'hide-no-password-message'