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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-28 19:07:57 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-28 19:07:57 +0300
commit6d357ccef3b13f620d33c7352364517fb8f95c04 (patch)
tree8dabcd70bf0839637233fa6644c5d5904dae3589 /app
parentfcdf3931811845ee7b214ab8ad97118d7eb7adb8 (diff)
Use render_if_exists for group settings page to keep same code as EE
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/views/groups/settings/_general.html.haml2
-rw-r--r--app/views/groups/settings/_permissions.html.haml2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/groups/settings/_general.html.haml b/app/views/groups/settings/_general.html.haml
index 6f0e1b8c337..64786d24266 100644
--- a/app/views/groups/settings/_general.html.haml
+++ b/app/views/groups/settings/_general.html.haml
@@ -19,6 +19,8 @@
%span.light (optional)
= f.text_area :description, class: 'form-control', rows: 3, maxlength: 250
+ = render_if_exists 'shared/repository_size_limit_setting', form: f, type: :group
+
.form-group.row
.col-sm-12
.avatar-container.s160
diff --git a/app/views/groups/settings/_permissions.html.haml b/app/views/groups/settings/_permissions.html.haml
index 3e6979a778b..bc10627a201 100644
--- a/app/views/groups/settings/_permissions.html.haml
+++ b/app/views/groups/settings/_permissions.html.haml
@@ -23,4 +23,6 @@
= render 'group_admin_settings', f: f
+ = render_if_exists 'member_lock_setting', f: f, group: @group
+
= f.submit 'Save group', class: 'btn btn-success'