Project

General

Profile

Actions

Feature #3895

open

CSS class "selected" should be assigned to selected items in the top-menu

Added by Albrecht Backhaus over 14 years ago. Updated about 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-09-20
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Currently you can't address the selcted menu item of the top-menu with CSS because there is no class "selected" assigned to the active tab. Some plugins are doing that already for their entries in the top-menu and the project menues are also working in this way. This should also be implemented for the redmine core.

It will increase redmines "themeability" and will bring more consistency in the css design logic if menus are handled similar.


Related issues

Has duplicate Redmine - Defect #3925: Top menu links do not have selected modeClosed2009-09-25

Actions
Actions #1

Updated by Bogdan Vlad about 13 years ago

I was able to make the top menu items take the selected class by implementing a patch for the controllers used in these menus. For example, I only had to add: menu_item :home to the welcome controller in order for the home menu item to take the selected class. Maybe others can have a more clean solution.

Actions

Also available in: Atom PDF