Changes between Version 8 and Version 9 of MenusPlugin
- Timestamp:
- Dec 16, 2008, 9:13:11 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MenusPlugin
v8 v9 30 30 31 31 [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" 33 teamtools.parent = top 34 teamtools.label = Team Tools 35 # Do not display this menu if it has no children (e.g. visitor has no permission to any) 36 teamtools.hide_if_no_children = 1 37 # Now add the discussion plugin here 38 discussion.parent = teamtools 39 # Hide it if it's not available 40 discussion.hide_if_disabled = 1 41 # Add the worklog here as well 42 worklog.parent = teamtools 43 worklog.hide_if_disabled = 1 44 # Add more things... 45 #... 35 46 47 # rename "Browse Source" to "Code" 48 browser.label = Code 49 # Add some entry points to the code browser 50 code_trunk.parent=browser 51 code_trunk.href=/browser/trunk 52 code_trunk.label=Trunk 53 54 # Add some reports to the ticket item 36 55 special_report.parent=tickets 37 56 special_report.href=/report/7 38 57 special_report.label=My Tickets 58 # this is no component - so to hide it if not available, we need a trick 39 59 special_report.perm=REPORT_VIEW 40 #special_report.hide_if_disabled = 141 #special_report.hide_if_no_children = 142 #special_report.path_info =43 60 61 # Some more things 44 62 wiki.parent=top 45 63 browser.parent=top