diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/tree/_tree_header.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/tree/_tree_header.html.haml b/app/views/projects/tree/_tree_header.html.haml index 5df3d10d4eb..4bc6e599b26 100644 --- a/app/views/projects/tree/_tree_header.html.haml +++ b/app/views/projects/tree/_tree_header.html.haml @@ -1,8 +1,9 @@ .tree-ref-container .tree-ref-holder = render 'shared/ref_switcher', destination: 'tree', path: @path - =icon('long-arrow-right', title: 'to target branch') - = render 'shared/target_switcher', destination: 'tree', path: @path + - if !show_new_repo? + =icon('long-arrow-right', title: 'to target branch') + = render 'shared/target_switcher', destination: 'tree', path: @path - if !show_new_repo? = render 'projects/tree/old_tree_header' |