summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2016-07-26 12:03:47 +0000
committerFatih Acet <acetfatih@gmail.com>2016-07-26 12:03:47 +0000
commit9cf1bf64cf624c3914f9d9cd15beeae924e9ae94 (patch)
tree0ae8e6e9d0c365ed9c197bf862da594fa1a3e726
parent63fe21c8bf4f8df872ded0ce3f86eb4c016a915e (diff)
parentd19e53ba9409b17144c4c9e041d1528f5ae07961 (diff)
downloadgitlab-ce-9cf1bf64cf624c3914f9d9cd15beeae924e9ae94.tar.gz
Merge branch '20139-branch-icon' into 'master'
Add branch or tag icon to ref in builds page ## What does this MR do? Add branch or tag icon to ref in builds page ## Why was this MR needed? It's currently missing but should be there ## What are the relevant issue numbers? Closes #20139 ## Screenshots (if relevant) <img src="/uploads/fb5c9a285a1ce95c0aa8dfa5e32c5d7d/Screen_Shot_2016-07-22_at_9.14.39_AM.png" width="400px"> See merge request !5434
-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