summaryrefslogtreecommitdiff
path: root/app/views/projects/settings
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-07-07 16:51:13 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-07-14 10:26:26 +0200
commit9654295dbb9ab29bb2eb80a384c4f72e8646fb68 (patch)
tree73011ff6b7b0dc684bd4149d99d198c171e57553 /app/views/projects/settings
parent6fb712a073c66d66c00ef4302f40da2280fb9bc3 (diff)
downloadgitlab-ce-9654295dbb9ab29bb2eb80a384c4f72e8646fb68.tar.gz
Use shared protected branches views for CE-partials
Diffstat (limited to 'app/views/projects/settings')
-rw-r--r--app/views/projects/settings/repository/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/settings/repository/show.html.haml b/app/views/projects/settings/repository/show.html.haml
index 40ea02abce9..0f20ecf8c69 100644
--- a/app/views/projects/settings/repository/show.html.haml
+++ b/app/views/projects/settings/repository/show.html.haml
@@ -6,6 +6,10 @@
= page_specific_javascript_bundle_tag('common_vue')
= page_specific_javascript_bundle_tag('deploy_keys')
+-# Protected branches & tags use a lot of nested partials.
+-# The shared parts of the views can be found in the `shared` directory.
+-# Those are used throughout the actual views. These `shared` views are then
+-# reused in EE.
= render "projects/protected_branches/index"
= render "projects/protected_tags/index"
= render @deploy_keys