Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-05 16:51:18 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-05 16:51:18 +0400
commit1767873845ef479dd977303f9a6babc9e23ace9f (patch)
treeb39bc0b9c24b7812763d5eb2f7a899947f78b95b /app
parente088777e1ba1c8fa809f2a6894aea640373c56c1 (diff)
parentb81649135627634956e05bd6fd5276d7342188b5 (diff)
Merge pull request #7193 from dloman/master
added htmlsafe to branch list
Diffstat (limited to 'app')
-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