Ticket #2723 (closed defect: fixed)

Opened 9 months ago

Last modified 6 months ago

Redesign main black menu.

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

Description (Last modified by bettse)

From the main navbar on the top (black bg):

  • Remove Wiki.
  • Rename 'Timeline' into 'History'.
  • Rename 'View Tickets' into 'Tickets' and have it go to the first ticket report.
  • Remove the 'New Ticket' link.
  • Add New Ticket form to first ticket report
  • Remove 'Search' it should be integrated with the search at the top.

Change History

10/13/08 11:15:52 changed by bettse

  • description changed.

10/14/08 15:11:08 changed by gallardj

We also need to add a link to 'Request A New Project' to this menu as well.

10/15/08 14:51:31 changed by bettse

I think "Request a new project" will be part of the top, static navigation bar described in ticket #2725 Also I don't remember if we're removing wiki outright, or if we were just changing its name or something, cause removing it completely seems like a problem.

12/05/08 12:37:01 changed by gallardj

  • owner set to cedenoj.

01/07/09 13:28:20 changed by cedenoj

From the 2nd level of navigation in Trac:

  • Remove Start Page, Index by Date and Last Change
  • Move 'Index by title' to the 1st level

01/08/09 22:25:58 changed by cedenoj

The plugin that Eric specified seems to do the trick. After installation. I was able successfully remove items from both the orange and black menu bars. There seems to be another plugin that allows us to add items to the black menu bar ( http://trac-hacks.org/wiki/NavAddPlugin ). I'm going to give it a try and report back.

After installing the navhiderplugin in trac, I had to add the following lines to /etc/trac/trac.ini

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

01/08/09 23:01:24 changed by bettse

for reference, the ticket I mentioned the plugin in is #2726 the plugin is http://trac-hacks.org/wiki/NavHiderPlugin

01/12/09 20:25:52 changed by cedenoj

The settings I used for navadd and navhider are: [navhider] mainnav = wiki,timeline,tickets,newticket,search metanav = login,logout,settings,help,about

[navadd] add_items = history,bugs history.title = History history.url = /timeline history.target = mainnav bugs.title = Tickets bugs.url = /report bugs.target = mainnav

I will be uploading a modified version of navadd.

(follow-up: ↓ 10 ) 01/12/09 20:32:49 changed by cedenoj

(In [172]) refs #2723

(in reply to: ↑ 9 ) 01/12/09 20:34:17 changed by cedenoj

Replying to cedenoj:

(In [172]) refs #2723

This is a modified version of the navadd plugin. The two modifications to this plugin are: 1) the plugin figures out the relative url for the current trac instance 2) the plugin figures out the first report id for the current trac instance

01/12/09 21:15:05 changed by cedenoj

(In [173]) refs #2723 Adding the project name to the right of the bs logo on the orange bar. Also adding the o.e logo to the right side of the orange bar. A link to create a new ticket is added to the top section of the first report

01/12/09 21:20:56 changed by cedenoj

(In [174]) refs #2723 Adding 'Create new ticket' button to the list of available reports

01/12/09 21:24:28 changed by cedenoj

(In [175]) refs #2723 Adding some css to add the h1 name of the project to the orange bar.

01/12/09 21:42:13 changed by bettse

the plugins will need to be enabled in the global config (/etc/trac/trac.ini) with

navhider.* = enabled
navadd.* = enabled

01/15/09 21:15:50 changed by cedenoj

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