Create a shared haml for usage_qutoas pages
Right now, users of GitLab can access their Usage Quotas in 3 scenarios:
-
Group Usage Quotas:
https://gitlab.com/groups/<group-id>/-/usage_quotas
-
Project Usage Quotas:
https://gitlab.com/<group-id>/<project-id>/-/usage_quotas
- Profile/User Namespace Usage Quotas: https://gitlab.com/-/profile/usage_quotas
These 3 pages are very similar, so we can create a shared haml
file, using yield
for content that's specific for each page:
-
:usage_quotas_alerts
- for each page specific alerts -
:usage_quotas_subtitle
- for each page specific subtitle -
:usage_quotas_tabs
- for each page specific tabs
Implementation
Create shared haml files for Usage Quotas pages (!150164 - merged)
Edited by Sheldon Led