GitLab steht aufgrund wichtiger Wartungsarbeiten am Montag, den 8. März, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit d0398514 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add 'New file' link to dropdown on project page

Signed-off-by: default avatarDmitriy Zaporozhets <>
parent 57430dc4
......@@ -17,6 +17,7 @@ v 8.2.0 (unreleased)
- Remove deprecated CI events from project settings page
- Use issue editor as cross reference comment author when issue is edited with a new mention.
- [API] Add ability to fetch the commit ID of the last commit that actually touched a file
- Add "New file" link to dropdown on project page
v 8.1.1
- Fix cloning Wiki repositories via HTTP (Stan Hu)
......@@ -20,6 +20,10 @@
New snippet
- if can?(current_user, :push_code, @project)
= link_to namespace_project_new_blob_path(@project.namespace, @project, @project.default_branch || 'master'), title: 'New file' do
= icon('file fw')
New file
= link_to new_namespace_project_branch_path(@project.namespace, @project) do
= icon('code-fork fw')
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