Commit 8dc80069 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Project limit is reached warning is hidden when the projects_limit is zero

Fixes #12791
parent ad12f11f
...@@ -64,6 +64,7 @@ v 8.5.0 (unreleased) ...@@ -64,6 +64,7 @@ v 8.5.0 (unreleased)
- Fix broken link to project in build notification emails - Fix broken link to project in build notification emails
- Ability to see and sort on vote count from Issues and MR lists - Ability to see and sort on vote count from Issues and MR lists
- Fix builds scheduler when first build in stage was allowed to fail - Fix builds scheduler when first build in stage was allowed to fail
- User project limit is reached notice is hidden if the projects limit is zero
v 8.4.4 v 8.4.4
- Update omniauth-saml gem to 1.4.2 - Update omniauth-saml gem to 1.4.2
......
- if cookies[:hide_project_limit_message].blank? && !current_user.hide_project_limit && !current_user.can_create_project? - 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.hidden-xs .project-limit-message.alert.alert-warning.hidden-xs
You won't be able to create new projects because you have reached your project limit. You won't be able to create new projects because you have reached your project limit.
......
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