Modify

Opened 15 years ago

Last modified 7 years ago

#4914 new defect

Bold highlighting of current page in menu

Reported by: anonymous Owned by:
Priority: low Component: MenusPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.11

Description

If you select Custom Query on the OForge page, then both Custom Query and View Reports are highlighted in bold, where the bold highlighting indicates the current page. It seems as though on Custom Query should be highlighted in bold.

However, if you highlight View Reports, then only View Reports is highlighted in bold. I see the same behavior on my trac instance.

I also have a case on my Trac instance where I select an item from the menu and the particular wiki page loads, but then the item is not displayed highlighted in bold. The behavior works correctly in all other cases, however.

Attachments (0)

Change History (4)

comment:1 Changed 15 years ago by Ryan J Ollos

The case where I see the issue is for a tab that navigates to a user's My Page (created by the MyPage/UserPage plug-ins).

The URL is /wiki/u/<username>. I suspect that the menu item is highlighted in bold when the URL matches the expected pattern, and that /wiki/u/<username> does not match the pattern since it is different for each logged-in user.

comment:2 Changed 15 years ago by Ryan J Ollos

See ticket #592 for the NavAddPlugin for a similar issue.

comment:3 Changed 12 years ago by Ryan J Ollos

#8559 closed as a duplicate.

comment:4 Changed 7 years ago by Ryan J Ollos

Owner: Catalin BALAN deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.