Skip to content
代码片段 群组 项目
提交 42300942 编辑于 作者: 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
No related branches found
No related tags found
无相关合并请求
- 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'
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册