Commit b8164913 authored by Daniel Loman's avatar Daniel Loman

added str-truncated to branch list to fix issue #7192

parent 085a93d4
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%li(class="js-branch-#{branch.name}") %li(class="js-branch-#{branch.name}")
%h4 %h4
= link_to project_tree_path(@project, branch.name) do = 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 - if branch.name == @repository.root_ref
%span.label.label-info default %span.label.label-info default
- if @project.protected_branch? branch.name - if @project.protected_branch? branch.name
......
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