Skip to content
Snippets Groups Projects
Commit 0b60e13a authored by George Tsiolis's avatar George Tsiolis
Browse files

Add section headers to plus button dropdown

parent 604c9133
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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') }
Loading
Loading
@@ -60,6 +62,8 @@
#{ _('New directory') }
 
%li.divider
%li.dropdown-header
#{ _('This repository') }
%li
= link_to new_project_branch_path(@project) do
#{ _('New branch') }
Loading
Loading
---
title: Add section headers to plus button dropdown
merge_request: 16394
author: George Tsiolis
type: added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment