diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-05 15:10:23 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-05 15:10:23 +0300 |
commit | 7e964f54ed3dd08ed528481843ba1972684335dc (patch) | |
tree | 633ea7d7473ecea5385f1c98d3a67103e0b5fcb3 /app/views/projects/branches | |
parent | b5e513dbefdc7d27ddfd800c81b80e55f086f3f5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/branches')
-rw-r--r-- | app/views/projects/branches/_branch.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/branches/_branch.html.haml b/app/views/projects/branches/_branch.html.haml index f5e61c010cc..e4ec7a43d61 100644 --- a/app/views/projects/branches/_branch.html.haml +++ b/app/views/projects/branches/_branch.html.haml @@ -7,6 +7,7 @@ = sprite_icon('branch', size: 12, css_class: 'gl-flex-shrink-0') = link_to project_tree_path(@project, branch.name), class: 'item-title str-truncated-100 ref-name gl-ml-3 qa-branch-name' do = branch.name + = clipboard_button(text: branch.name, title: _("Copy branch name")) - if branch.name == @repository.root_ref = gl_badge_tag s_('DefaultBranchLabel|default'), { variant: :info, size: :sm }, { class: 'gl-ml-2' } - elsif merged |