Commit d19e53ba authored by Annabel Dunstone's avatar Annabel Dunstone

Add branch or tag icon to ref in builds page

parent 033e5423
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
- if defined?(ref) && ref - if defined?(ref) && ref
- if build.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" = link_to build.ref, namespace_project_commits_path(build.project.namespace, build.project, build.ref), class: "monospace branch-name"
- else - else
.light none .light none
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment