Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#59898] fix: redundant user popover in profile

Tobias Dillmann2bceb5dfa206
diff --git a/app/components/users/show_page_header_component.html.erb b/app/components/users/show_page_header_component.html.erb
index 9a8ac99ceed..73a8d63c799 100644
--- a/app/components/users/show_page_header_component.html.erb
+++ b/app/components/users/show_page_header_component.html.erb
@@ -28,7 +28,9 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
<%=
render(Primer::OpenProject::PageHeader.new) do |header|
- header.with_title { "#{avatar @user} #{h(@user.name)}".html_safe }
+ header.with_title do
+ "#{avatar(@user, hover_card: { active: false })} #{h(@user.name)}".html_safe
+ end
header.with_breadcrumbs(breadcrumb_items)
if @current_user.allowed_globally?(:manage_user)