Modify

Opened 6 years ago

Last modified 3 years ago

#4914 new defect

Bold highlighting of current page in menu

Reported by: anonymous Owned by: cbalan
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 (3)

comment:1 Changed 5 years ago by rjollos

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 5 years ago by rjollos

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

comment:3 Changed 3 years ago by rjollos

#8559 closed as a duplicate.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.