summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_branches/_matching_branch.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-10 22:54:55 -0500
committerDouwe Maan <douwe@selenight.nl>2017-05-11 09:04:19 -0500
commit3cd00d19898644e64eee980f40b1d8e234c3cf63 (patch)
tree7c11eb3365b77d5b4240750a0631364637a33ba0 /app/views/projects/protected_branches/_matching_branch.html.haml
parentf737a079cee6689e6ba6c1536f223a882a558f3e (diff)
downloadgitlab-ce-3cd00d19898644e64eee980f40b1d8e234c3cf63.tar.gz
Consistently use monospace font for branch and tag namesdm-consistent-branch-name-style
Diffstat (limited to 'app/views/projects/protected_branches/_matching_branch.html.haml')
-rw-r--r--app/views/projects/protected_branches/_matching_branch.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/protected_branches/_matching_branch.html.haml b/app/views/projects/protected_branches/_matching_branch.html.haml
index 8a5332ca5bb..c144f615f7b 100644
--- a/app/views/projects/protected_branches/_matching_branch.html.haml
+++ b/app/views/projects/protected_branches/_matching_branch.html.haml
@@ -1,6 +1,7 @@
%tr
%td
- = link_to matching_branch.name, namespace_project_tree_path(@project.namespace, @project, matching_branch.name)
+ = link_to matching_branch.name, namespace_project_commits_path(@project.namespace, @project, matching_branch.name), class: 'monospace'
+
- if @project.root_ref?(matching_branch.name)
%span.label.label-info.prepend-left-5 default
%td