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

This commit is contained in:
Daniel Loman 2014-06-24 11:26:31 -07:00
parent 085a93d4a5
commit b816491356
1 changed files with 1 additions and 1 deletions

View File

@ -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