diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-05 15:51:18 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-05 15:51:18 +0300 |
commit | 1767873845ef479dd977303f9a6babc9e23ace9f (patch) | |
tree | b39bc0b9c24b7812763d5eb2f7a899947f78b95b /app/views/projects/branches | |
parent | e088777e1ba1c8fa809f2a6894aea640373c56c1 (diff) | |
parent | b81649135627634956e05bd6fd5276d7342188b5 (diff) | |
download | gitlab-ce-1767873845ef479dd977303f9a6babc9e23ace9f.tar.gz |
Merge pull request #7193 from dloman/master
added htmlsafe to branch list
Diffstat (limited to 'app/views/projects/branches')
-rw-r--r-- | app/views/projects/branches/_branch.html.haml | 2 |
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 |