Project

General

Profile

Actions

Patch #21947

closed

Improve page header title for deeply nested project structures (+ improved XSS resilience)

Added by Jan from Planio www.plan.io about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Some theme developers (or even Redmine core, see below) may wish to put the project breadcrumbs within the page header title on a separate line, see screenshots attached.

Patch 0001 will add some extra span elements which make this possible for theme CSS. It also improves XSS resilience by using the safe_join helper instead of manually declaring strings .html_safe, see here and here. This patch shouldn't change things for existing themes and could therefore applied to core without any doubt, IMHO.

Patch 0002 actually changes Redmine's core CSS to take advantage of this and display the breadcrumbs on a separate line. I feel it looks better this way, but I realize that this is just my opinion, so I would see this patch as optional and up for discussion.

Old:

Overview - Sub-Subproject with a very long name - Redmine 2016-02-04 14-50-43.png

New:

Overview - Sub-Subproject with a very long name - Redmine 2016-02-04 14-51-33.png


Files


Related issues

Related to Redmine - Feature #7848: Add class for project title in the headerClosed2011-03-13

Actions
Has duplicate Redmine - Defect #5261: Multiple level subprojects wrap around into the menuClosed2010-04-07

Actions
Actions

Also available in: Atom PDF