Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0b60e13a
Commit
0b60e13a
authored
Jan 11, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add section headers to plus button dropdown
parent
604c9133
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
app/views/projects/tree/_tree_header.html.haml
app/views/projects/tree/_tree_header.html.haml
+4
-0
changelogs/unreleased/feat-add-section-headers-to-plus-button-dropdown.yml
...ased/feat-add-section-headers-to-plus-button-dropdown.yml
+5
-0
No files found.
app/views/projects/tree/_tree_header.html.haml
View file @
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'
)
}
...
...
changelogs/unreleased/feat-add-section-headers-to-plus-button-dropdown.yml
0 → 100644
View file @
0b60e13a
---
title
:
Add section headers to plus button dropdown
merge_request
:
16394
author
:
George Tsiolis
type
:
added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment