Changes between Version 8 and Version 9 of MenusPlugin


Ignore:
Timestamp:
Dec 16, 2008, 10:13:11 PM (6 years ago)
Author:
izzy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MenusPlugin

    v8 v9  
    3030
    3131[mainnav]
    32 new_item.parent=browser
    33 new_item.href=/browser/trunk
    34 new_item.label=Trunk
     32# Create a new top-level element for "Team Tools"
     33teamtools.parent = top
     34teamtools.label  = Team Tools
     35# Do not display this menu if it has no children (e.g. visitor has no permission to any)
     36teamtools.hide_if_no_children = 1
     37# Now add the discussion plugin here
     38discussion.parent = teamtools
     39# Hide it if it's not available
     40discussion.hide_if_disabled = 1
     41# Add the worklog here as well
     42worklog.parent = teamtools
     43worklog.hide_if_disabled = 1
     44# Add more things...
     45#...
    3546
     47# rename "Browse Source" to "Code"
     48browser.label = Code
     49# Add some entry points to the code browser
     50code_trunk.parent=browser
     51code_trunk.href=/browser/trunk
     52code_trunk.label=Trunk
     53
     54# Add some reports to the ticket item
    3655special_report.parent=tickets
    3756special_report.href=/report/7
    3857special_report.label=My Tickets
     58# this is no component - so to hide it if not available, we need a trick
    3959special_report.perm=REPORT_VIEW
    40 #special_report.hide_if_disabled = 1
    41 #special_report.hide_if_no_children = 1
    42 #special_report.path_info =
    4360
     61# Some more things
    4462wiki.parent=top
    4563browser.parent=top