summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAkram FARES <akramfares@gmail.com>2016-09-26 15:46:30 +0000
committerRémy Coutable <remy@rymai.me>2016-10-06 18:37:06 +0200
commit5c7904d786c5f176d94753b2db5c9efaa23a80fe (patch)
tree40a942419c54b05ae5c18da5455449fe12c9d203 /app
parent21f0c27aac3be09f3c8288e32668982524b13f4b (diff)
downloadgitlab-ce-5c7904d786c5f176d94753b2db5c9efaa23a80fe.tar.gz
Add tag shortcut from the Commit page
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/commit/_commit_box.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index 29d767e7769..026910abb90 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -24,6 +24,8 @@
= revert_commit_link(@commit, namespace_project_commit_path(@project.namespace, @project, @commit.id), has_tooltip: false)
%li.clearfix
= cherry_pick_commit_link(@commit, namespace_project_commit_path(@project.namespace, @project, @commit.id), has_tooltip: false)
+ %li.clearfix
+ = link_to "Tag", new_namespace_project_tag_path(@project.namespace, @project, ref: @commit)
%li.divider
%li.dropdown-header
Download