Commit 125e6f9
authored
Fixed login/logout/logged as items in metanav.
Most of the issues were caused by Trac's clever plugin
system where classes implementing INavigationContributor
all contribute to the metanav. Plugins can then override
existing links by making sure they pass the same name
(second element in the yielded tuple in get_navigation_items()).
On top of that, trac.ini can override any item by specifying
a <item name>.label configuration.
Rather than trying to figure this all out, I've opted to
hardcode the navigation menu in the HTML. This has the nice
side-effect of removing the dependency on the forked trac-github.
This commit therefore includes a revert of
d8760ad.
Fixes #511 parent 5dc9fba commit 125e6f9
File tree
3 files changed
+23
-12
lines changed- trac-env
- conf
- templates
3 files changed
+23
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 19 | + | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 95 | + | |
| 96 | + | |
102 | 97 | | |
103 | 98 | | |
104 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
21 | 40 | | |
22 | 41 | | |
23 | 42 | | |
| |||
0 commit comments