Commit 6ec5b0eb authored by Paul Slaughter's avatar Paul Slaughter

Merge branch 'fix-overflowing-branch-name-on-profile' into 'master'

Fix branch name overflows in profile activity section

See merge request gitlab-org/gitlab!50975
parents 20a2852d 2b51e32e
......@@ -9,7 +9,7 @@
- many_refs = event.ref_count.to_i > 1
%span.event-type.d-inline-block.gl-mr-2.pushed= many_refs ? "#{event.action_name} #{event.ref_count} #{event.ref_type.pluralize}" : "#{event.action_name} #{event.ref_type}"
- unless many_refs
%span.gl-mr-2
%span.gl-mr-2.text-truncate
- commits_link = project_commits_path(project, event.ref_name)
- should_link = event.tag? ? project.repository.tag_exists?(event.ref_name) : project.repository.branch_exists?(event.ref_name)
= link_to_if should_link, event.ref_name, commits_link, class: 'ref-name'
......
---
title: Fix branch name overflows in profile activity section
merge_request: 50975
author: Kev @KevSlashNull
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment