Commit 834dee68 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

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
parents 676b2043 0b60e13a
......@@ -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') }
......
---
title: Add section headers to plus button dropdown
merge_request: 16394
author: George Tsiolis
type: added
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment