diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-01-22 15:21:36 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-01-22 15:21:36 +0000 |
commit | 834dee687833fa7beca67e47a216261b23faa66b (patch) | |
tree | 4b1d2d79f835afa7b301794f5bc98a4ebf4729e3 | |
parent | 676b2043f7fb5fc80a7faf13eda42ea490fa9fc9 (diff) | |
parent | 0b60e13ae1fa28f18c753fc0fedb92dd404791db (diff) | |
download | gitlab-ce-834dee687833fa7beca67e47a216261b23faa66b.tar.gz |
Merge branch 'feat/add-section-headers-to-plus-button-dropdown' into 'master'
Add section headers to plus button dropdown #41128
Closes #41128
See merge request gitlab-org/gitlab-ce!16394
-rw-r--r-- | app/views/projects/tree/_tree_header.html.haml | 4 | ||||
-rw-r--r-- | changelogs/unreleased/feat-add-section-headers-to-plus-button-dropdown.yml | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/app/views/projects/tree/_tree_header.html.haml b/app/views/projects/tree/_tree_header.html.haml index d1ecef39475..05539dfed7c 100644 --- a/app/views/projects/tree/_tree_header.html.haml +++ b/app/views/projects/tree/_tree_header.html.haml @@ -24,6 +24,8 @@ .add-to-tree-dropdown %ul.dropdown-menu - if can_edit_tree? + %li.dropdown-header + #{ _('This directory') } %li = link_to project_new_blob_path(@project, @id) do #{ _('New file') } @@ -60,6 +62,8 @@ #{ _('New directory') } %li.divider + %li.dropdown-header + #{ _('This repository') } %li = link_to new_project_branch_path(@project) do #{ _('New branch') } diff --git a/changelogs/unreleased/feat-add-section-headers-to-plus-button-dropdown.yml b/changelogs/unreleased/feat-add-section-headers-to-plus-button-dropdown.yml new file mode 100644 index 00000000000..3fce53bc941 --- /dev/null +++ b/changelogs/unreleased/feat-add-section-headers-to-plus-button-dropdown.yml @@ -0,0 +1,5 @@ +--- +title: Add section headers to plus button dropdown +merge_request: 16394 +author: George Tsiolis +type: added |