debian-mirror-gitlab/app/views/shared/_project_limit.html.haml

9 lines
551 B
Text
Raw Normal View History

2016-04-02 18:10:28 +05:30
- if cookies[:hide_project_limit_message].blank? && !current_user.hide_project_limit && !current_user.can_create_project? && current_user.projects_limit > 0
2018-11-08 19:23:39 +05:30
.project-limit-message.alert.alert-warning.d-none.d-sm-block
2020-05-24 23:13:21 +05:30
= _("You won't be able to create new projects because you have reached your project limit.")
2015-12-23 02:04:40 +05:30
2018-11-08 19:23:39 +05:30
.float-right
2020-05-24 23:13:21 +05:30
= link_to _("Don't show again"), profile_path(user: {hide_project_limit: true}), method: :put, class: 'alert-link'
2015-12-23 02:04:40 +05:30
|
2020-05-24 23:13:21 +05:30
= link_to _('Remind later'), '#', class: 'hide-project-limit-message alert-link'