summaryrefslogtreecommitdiff
path: root/app/views/projects/branches
diff options
context:
space:
mode:
authorDaniel Loman <dloman@toyon.com>2014-06-24 11:26:31 -0700
committerDaniel Loman <dloman@toyon.com>2014-09-01 15:16:55 -0700
commitb81649135627634956e05bd6fd5276d7342188b5 (patch)
tree698416ef8f2385d246bb92883644da47d7c296d4 /app/views/projects/branches
parent085a93d4a513dd661d57f2a9a5141e2c6b5680a2 (diff)
downloadgitlab-ce-b81649135627634956e05bd6fd5276d7342188b5.tar.gz
added str-truncated to branch list to fix issue #7192
Diffstat (limited to 'app/views/projects/branches')
-rw-r--r--app/views/projects/branches/_branch.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/branches/_branch.html.haml b/app/views/projects/branches/_branch.html.haml
index 54a7b934dd7..08a537e0541 100644
--- a/app/views/projects/branches/_branch.html.haml
+++ b/app/views/projects/branches/_branch.html.haml
@@ -2,7 +2,7 @@
%li(class="js-branch-#{branch.name}")
%h4
= link_to project_tree_path(@project, branch.name) do
- %strong= truncate(branch.name, length: 60)
+ %strong.str-truncated= branch.name
- if branch.name == @repository.root_ref
%span.label.label-info default
- if @project.protected_branch? branch.name