diff options
author | Phil Hughes <me@iamphill.com> | 2017-10-12 10:55:11 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-23 10:45:19 +0100 |
commit | caee9d5882050b3998f05edf7aff8bd3c36591c3 (patch) | |
tree | 17498a130f967aaacf4c0a05d45a55c28eca56c9 /app/views/projects/tree | |
parent | 5295f23b4bf1b13c9395c1871edce0095cb852cc (diff) | |
download | gitlab-ce-caee9d5882050b3998f05edf7aff8bd3c36591c3.tar.gz |
Add new files & directories in the multi-file editor
Closes #38614
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r-- | app/views/projects/tree/_tree_header.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/tree/_tree_header.html.haml b/app/views/projects/tree/_tree_header.html.haml index 6cddc38d11a..df58e257a4e 100644 --- a/app/views/projects/tree/_tree_header.html.haml +++ b/app/views/projects/tree/_tree_header.html.haml @@ -2,7 +2,9 @@ .tree-ref-holder = render 'shared/ref_switcher', destination: 'tree', path: @path - - unless show_new_repo? + - if show_new_repo? + .js-new-dropdown + - else = render 'projects/tree/old_tree_header' .tree-controls |