summaryrefslogtreecommitdiff
path: root/app/views/shared/_project_limit.html.haml
blob: 960ff00b49d70b91411117deb589dd649f97292c (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?
  .project-limit-message.alert.alert-warning.hidden-xs
    You won't be able to create new projects because you have reached your project limit.

    .pull-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'