summaryrefslogtreecommitdiff
path: root/app/views/projects/tree
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2017-09-28 09:58:45 -0400
committerJacob Schatz <jschatz1@gmail.com>2017-09-28 09:58:45 -0400
commit74bf6b20bdc977969ccae0a29f675763141fbd73 (patch)
tree175094b824abdd6124dd969b0af72c8b9c20d69e /app/views/projects/tree
parent06daba75aa6c45543b6b430a50f2efe9d68988d1 (diff)
downloadgitlab-ce-74bf6b20bdc977969ccae0a29f675763141fbd73.tar.gz
Remove target ref switcher.
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r--app/views/projects/tree/_tree_header.html.haml4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/views/projects/tree/_tree_header.html.haml b/app/views/projects/tree/_tree_header.html.haml
index 853e2a6e7ec..6cddc38d11a 100644
--- a/app/views/projects/tree/_tree_header.html.haml
+++ b/app/views/projects/tree/_tree_header.html.haml
@@ -1,10 +1,6 @@
.tree-ref-container
.tree-ref-holder
= render 'shared/ref_switcher', destination: 'tree', path: @path
- - if show_new_repo?
- .tree-ref-target-holder.js-tree-ref-target-holder
- = icon('long-arrow-right', title: 'to target branch')
- = render 'shared/target_switcher', destination: 'tree', path: @path
- unless show_new_repo?
= render 'projects/tree/old_tree_header'