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

show selected tab in the html title

Behrokh Satarnejad0d2e24799ff1
diff --git a/app/components/admin/design_header_component.html.erb b/app/components/admin/design_header_component.html.erb
index 033fe8a5c9b..7f2a4ba6c52 100644
--- a/app/components/admin/design_header_component.html.erb
+++ b/app/components/admin/design_header_component.html.erb
@@ -27,7 +27,7 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
-<% helpers.html_title t(:label_administration), t(:label_custom_style), @title %>
+<% helpers.html_title t(:label_administration), t(:label_custom_style), selected_tab(@tabs)[:label] %>
<%=
render(Primer::OpenProject::PageHeader.new) do |header|
header.with_title { t(:label_custom_style) }