diff --git a/app/views/projects/branches/_branch.html.haml b/app/views/projects/branches/_branch.html.haml index 4e7415be4aa25f417639b959b8236c4ce35a0c6c..fca50501949e26b1ec0456056bde962c43abb09b 100644 --- a/app/views/projects/branches/_branch.html.haml +++ b/app/views/projects/branches/_branch.html.haml @@ -2,13 +2,13 @@ %li(class="js-branch-#{branch.name}") %h4 = link_to namespace_project_tree_path(@project.namespace, @project, branch.name) do - %strong.str-truncated= branch.name - - if branch.name == @repository.root_ref - %span.label.label-info default - - if @project.protected_branch? branch.name - %span.label.label-success - %i.fa.fa-lock - protected + %strong.str-truncated>= branch.name + - if branch.name == @repository.root_ref + %span.label.label-info default + - if @project.protected_branch? branch.name + %span.label.label-success + %i.fa.fa-lock + protected .pull-right - if can?(current_user, :download_code, @project) = render 'projects/repositories/download_archive', ref: branch.name, btn_class: 'btn-grouped btn-group-xs'