summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-05-11 06:16:43 +0100
committerLuke Bennett <lbennett@gitlab.com>2019-05-11 06:16:43 +0100
commit73ce52dc61bb3a8d692484b8774c0e6b4717bdfc (patch)
tree78dd7c360d3cfc07c1b021de40d0d621383171ca
parent825b2bdafd76c1a6773f2ec2bf2b19487f64d4e7 (diff)
downloadgitlab-ce-proj-branches-index-scb.tar.gz
Resolve CE/EE diffs in project branchesproj-branches-index-scb
Part of single codebase changes.
-rw-r--r--app/views/projects/branches/index.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/branches/index.html.haml b/app/views/projects/branches/index.html.haml
index 43f1cd01b67..d270e461ac8 100644
--- a/app/views/projects/branches/index.html.haml
+++ b/app/views/projects/branches/index.html.haml
@@ -1,5 +1,6 @@
- @no_container = true
- page_title _('Branches')
+- add_to_breadcrumbs(_('Repository'), project_tree_path(@project))
%div{ class: container_class }
.top-area.adjust
@@ -44,6 +45,8 @@
= link_to new_project_branch_path(@project), class: 'btn btn-success' do
= s_('Branches|New branch')
+ = render_if_exists 'projects/commits/mirror_status'
+
- if can?(current_user, :admin_project, @project)
- project_settings_link = link_to s_('Branches|project settings'), project_protected_branches_path(@project)
.row-content-block