Merge pull request #7193 from dloman/master
added htmlsafe to branch list
This commit is contained in:
commit
1767873845
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue