Ticket #3138 (closed enhancement: fixed)

Opened 9 months ago

Last modified 9 months ago

UI cleanup

Reported by: jensenca Assigned to: cedenoj
Priority: major Milestone: 1.1
Component: Trac Version: 1.0
Keywords: Cc:

Description

Minor UI twidling:

Top (black) header: rearrange order of tabs to: Home, My profile, People, communities, projects, marketplace, request a community (see 2828), and request project. Make login/logoff more obvious (bigger)

In social, gray menu: remove Browse, reorder tabs to be: Admin (if admin), Profile, Friends, Communities (new), projects, blog, files, tag cloud (this is a bit out of place in this menu), settings

In project (trac), grey menu: Admin (if admin), Project home (new), History, roadmap, pages (new, same as titleindex), tickets, browse source, stratistics

Change History

02/11/09 13:40:07 changed by bettse

  • owner set to cedenoj.

02/11/09 16:36:36 changed by bettse

The project part of this can be done in the global trac.ini (/etc/trac/trac.ini) using

[trac]
mainnav = wiki,timeline,roadmap,browser,tickets,newticket
metanav = login,logout,settings,help,about

All of the projects have that section in their local trac.ini, and the global one will override it.

02/16/09 22:42:21 changed by cedenoj

(In [214]) refs #3138 Taking care of links in main top black bar and mainnav in elgg

02/16/09 23:31:18 changed by cedenoj

I've tried sorting the buttons in the mainnav using the [trac] directive, but no luck. I'm wondering if it's my config the one causing the problem. I'm pasting it here:

[navhider]
mainnav = wiki,timeline,tickets,newticket,search
metanav = login,logout,settings,help,about

[navadd]
add_items = home,history,pages,bugs
home.title = Home
home.url = /wiki
home.target = mainnav
history.title = History
history.url = /timeline
history.target = mainnav
pages.title = Pages
pages.url = /wiki/TitleIndex
pages.target = mainnav
bugs.title = Tickets
bugs.url = /report
bugs.target = mainnav

[trac]
mainnav = admin,home,history,roadmap,pages,bugs,browser,stratistics

02/17/09 08:48:43 changed by bettse

According to [TracIni] the local options override the global, and grepping the /data/trac directory shows that most projects have a mainnav already. Try removing that line from a project's trac.ini and it should correctly order the menu for that project (or at least did for me). For the live site this will require removing that line from the existing projects (not really that difficult) and modifying the template trac.ini in /data/management to no longer include that line on future projects.

also, I think stractistics is misspelled in the mainnav line.

02/17/09 16:36:34 changed by cedenoj

(In [217]) refs #3138 Taking care of links in main top black bar and mainnav in elgg Submitting this patch again since I had committed into a branch before

02/17/09 21:21:39 changed by cedenoj

  • status changed from new to closed.
  • resolution set to fixed.

The changes Eric specified in a comment above take care of the trac ui reordering.

02/22/09 17:00:03 changed by bettse

(In [229]) re #3138

adds the changes specified in this ticket to the global trac.ini-dist