Skip to content
Snippets Groups Projects
Commit 8457415e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Add links to create branch/tag from project home page

parent 95f032c4
No related branches found
No related tags found
1 merge request!5081fixed command to update init script
Loading
Loading
@@ -37,6 +37,17 @@
%li
= link_to new_project_snippet_path(@project), title: "New Snippet" do
Snippet
- if can? current_user, :push_code, @project
%li.divider
%li
= link_to new_project_branch_path(@project) do
%i.icon-code-fork
Git branch
%li
= link_to new_project_tag_path(@project) do
%i.icon-tag
Git tag
- if can?(current_user, :admin_team_member, @project)
%li.divider
%li
Loading
Loading
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