Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-22 19:15:14 +0300
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-22 19:15:14 +0300
commitd19e53ba9409b17144c4c9e041d1528f5ae07961 (patch)
tree6b791cefe0a4ad2a62f8218eca314de62ef15bf6 /app/views
parent033e5423a2594e08a7ebcd2379bd2331f4c39032 (diff)
Add branch or tag icon to ref in builds page
Diffstat (limited to 'app/views')
-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