Commit 42300942 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'Update-markup-in-shared/_project_limit-haml-file' into 'master'

Update markup in files

See merge request gitlab-org/gitlab!63252
parents e1f20a1a ded0fd1b
- if cookies[:hide_project_limit_message].blank? && !current_user.hide_project_limit && !current_user.can_create_project? && current_user.projects_limit > 0
.project-limit-message.gl-alert.gl-alert-warning.gl-display-none.gl-sm-display-block
= _("You won't be able to create new projects because you have reached your project limit.")
.float-right
= link_to _("Don't show again"), profile_path(user: {hide_project_limit: true}), method: :put, class: 'alert-link'
|
= link_to _('Remind later'), '#', class: 'hide-project-limit-message alert-link'
= render 'shared/global_alert',
variant: :warning,
dismissible: false,
alert_class: 'project-limit-message' do
.gl-alert-body
= _("You won't be able to create new projects because you have reached your project limit.")
.gl-alert-actions
= link_to _('Remind later'), '#', class: 'alert-link hide-project-limit-message btn gl-button btn-confirm'
= link_to _("Don't show again"), profile_path(user: {hide_project_limit: true}), method: :put, class: 'alert-link btn gl-button btn-default gl-ml-3'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment