diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2017-05-03 14:49:37 +0200 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2017-05-17 20:53:16 +0200 |
commit | 34974258bc3f745c86512319231bad47232fe007 (patch) | |
tree | a6b9b7d7a80282f77471302f0970daced62e0455 /app/views/groups | |
parent | ac382b5682dc2d5eea750313c59fb2581af13326 (diff) | |
download | gitlab-ce-34974258bc3f745c86512319231bad47232fe007.tar.gz |
Hide nested group UI/API support for MySQL
This hides/disables some UI elements and API parameters related to
nested groups when MySQL is used, since nested groups are not supported
for MySQL.
Diffstat (limited to 'app/views/groups')
-rw-r--r-- | app/views/groups/_show_nav.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/groups/_show_nav.html.haml b/app/views/groups/_show_nav.html.haml index b2097e88741..35b75bc0923 100644 --- a/app/views/groups/_show_nav.html.haml +++ b/app/views/groups/_show_nav.html.haml @@ -2,6 +2,7 @@ = nav_link(page: group_path(@group)) do = link_to group_path(@group) do Projects - = nav_link(page: subgroups_group_path(@group)) do - = link_to subgroups_group_path(@group) do - Subgroups + - if Group.supports_nested_groups? + = nav_link(page: subgroups_group_path(@group)) do + = link_to subgroups_group_path(@group) do + Subgroups |