summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-22 09:15:14 -0700
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-22 09:15:14 -0700
commitd19e53ba9409b17144c4c9e041d1528f5ae07961 (patch)
tree6b791cefe0a4ad2a62f8218eca314de62ef15bf6
parent033e5423a2594e08a7ebcd2379bd2331f4c39032 (diff)
downloadgitlab-ce-d19e53ba9409b17144c4c9e041d1528f5ae07961.tar.gz
Add branch or tag icon to ref in builds page20139-branch-icon
-rw-r--r--app/views/projects/ci/builds/_build.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml
index a9fb3c58431..a3114771a42 100644
--- a/app/views/projects/ci/builds/_build.html.haml
+++ b/app/views/projects/ci/builds/_build.html.haml
@@ -22,6 +22,8 @@
- if defined?(ref) && ref
- if build.ref
+ .icon-container
+ = build.tag? ? icon('tag') : icon('code-fork')
= link_to build.ref, namespace_project_commits_path(build.project.namespace, build.project, build.ref), class: "monospace branch-name"
- else
.light none