Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_project_limit.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 88f213612fc62053b16fc1b7370deea2f34f1993 (plain)
1
2
3
4
5
6
7
8
- 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.alert.alert-warning.d-none.d-sm-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'