Fossil SCM

Added Forum navbar before Tickets in all skins that had such a link, pointing to /forum if the user is anonymous and has capability 2 or 3, or is logged in and has capabilities 2-6 inclusive.

wyoung 2018-08-08 13:19 trunk
Commit 4344f806d6944ed2410121df448b37927a16228ee6c22851687131acf5869b75
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -41,10 +41,13 @@
4141
menulink /dir?ci=tip Files
4242
}
4343
if {[hascap o]} {
4444
menulink /brlist Branches
4545
menulink /taglist Tags
46
+}
47
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
48
+ menulink /forum Forum
4649
}
4750
if {[hascap r]} {
4851
menulink /ticket Tickets
4952
}
5053
if {[hascap j]} {
5154
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -41,10 +41,13 @@
41 menulink /dir?ci=tip Files
42 }
43 if {[hascap o]} {
44 menulink /brlist Branches
45 menulink /taglist Tags
 
 
 
46 }
47 if {[hascap r]} {
48 menulink /ticket Tickets
49 }
50 if {[hascap j]} {
51
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -41,10 +41,13 @@
41 menulink /dir?ci=tip Files
42 }
43 if {[hascap o]} {
44 menulink /brlist Branches
45 menulink /taglist Tags
46 }
47 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
48 menulink /forum Forum
49 }
50 if {[hascap r]} {
51 menulink /ticket Tickets
52 }
53 if {[hascap j]} {
54
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -22,10 +22,13 @@
2222
html "<a href='$home/tree?ci=tip'>Files</a>\n"
2323
}
2424
if {[anoncap o]} {
2525
html "<a href='$home/brlist'>Branches</a>\n"
2626
html "<a href='$home/taglist'>Tags</a>\n"
27
+}
28
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
29
+ html "<a href='$home/forum'>Forum</a>\n"
2730
}
2831
if {[anoncap r]} {
2932
html "<a href='$home/ticket'>Tickets</a>\n"
3033
}
3134
if {[anoncap j]} {
3235
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -22,10 +22,13 @@
22 html "<a href='$home/tree?ci=tip'>Files</a>\n"
23 }
24 if {[anoncap o]} {
25 html "<a href='$home/brlist'>Branches</a>\n"
26 html "<a href='$home/taglist'>Tags</a>\n"
 
 
 
27 }
28 if {[anoncap r]} {
29 html "<a href='$home/ticket'>Tickets</a>\n"
30 }
31 if {[anoncap j]} {
32
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -22,10 +22,13 @@
22 html "<a href='$home/tree?ci=tip'>Files</a>\n"
23 }
24 if {[anoncap o]} {
25 html "<a href='$home/brlist'>Branches</a>\n"
26 html "<a href='$home/taglist'>Tags</a>\n"
27 }
28 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
29 html "<a href='$home/forum'>Forum</a>\n"
30 }
31 if {[anoncap r]} {
32 html "<a href='$home/ticket'>Tickets</a>\n"
33 }
34 if {[anoncap j]} {
35
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -45,10 +45,13 @@
4545
menulink /dir?ci=tip Files
4646
}
4747
if {[hascap o]} {
4848
menulink /brlist Branches
4949
menulink /taglist Tags
50
+}
51
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
52
+ menulink /forum Forum
5053
}
5154
if {[hascap r]} {
5255
menulink /ticket Tickets
5356
}
5457
if {[hascap j]} {
5558
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -45,10 +45,13 @@
45 menulink /dir?ci=tip Files
46 }
47 if {[hascap o]} {
48 menulink /brlist Branches
49 menulink /taglist Tags
 
 
 
50 }
51 if {[hascap r]} {
52 menulink /ticket Tickets
53 }
54 if {[hascap j]} {
55
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -45,10 +45,13 @@
45 menulink /dir?ci=tip Files
46 }
47 if {[hascap o]} {
48 menulink /brlist Branches
49 menulink /taglist Tags
50 }
51 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
52 menulink /forum Forum
53 }
54 if {[hascap r]} {
55 menulink /ticket Tickets
56 }
57 if {[hascap j]} {
58
--- skins/blitz_no_logo/header.txt
+++ skins/blitz_no_logo/header.txt
@@ -42,10 +42,13 @@
4242
menulink /dir?ci=tip Files
4343
}
4444
if {[hascap o]} {
4545
menulink /brlist Branches
4646
menulink /taglist Tags
47
+}
48
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
49
+ menulink /forum Forum
4750
}
4851
if {[hascap r]} {
4952
menulink /ticket Tickets
5053
}
5154
if {[hascap j]} {
5255
--- skins/blitz_no_logo/header.txt
+++ skins/blitz_no_logo/header.txt
@@ -42,10 +42,13 @@
42 menulink /dir?ci=tip Files
43 }
44 if {[hascap o]} {
45 menulink /brlist Branches
46 menulink /taglist Tags
 
 
 
47 }
48 if {[hascap r]} {
49 menulink /ticket Tickets
50 }
51 if {[hascap j]} {
52
--- skins/blitz_no_logo/header.txt
+++ skins/blitz_no_logo/header.txt
@@ -42,10 +42,13 @@
42 menulink /dir?ci=tip Files
43 }
44 if {[hascap o]} {
45 menulink /brlist Branches
46 menulink /taglist Tags
47 }
48 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
49 menulink /forum Forum
50 }
51 if {[hascap r]} {
52 menulink /ticket Tickets
53 }
54 if {[hascap j]} {
55
--- skins/bootstrap/header.txt
+++ skins/bootstrap/header.txt
@@ -77,10 +77,17 @@
7777
if {[string compare $current_page "taglist"] == 0} {
7878
html "<li class='active'><a href='$home/taglist'>Tags</a></li>\n"
7979
} else {
8080
html "<li><a href='$home/taglist'>Tags</a></li>\n"
8181
}
82
+ }
83
+ if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
84
+ if {[string compare $current_page "forum"] == 0} {
85
+ html "<li class='active'><a href='$home/forum'>Forum</a></li>\n"
86
+ } else {
87
+ html "<li><a href='$home/forum'>Forum</a></li>\n"
88
+ }
8289
}
8390
if {[hascap r]} {
8491
if {[string compare $current_page "reportlist"] == 0} {
8592
html "<li class='active'><a href='$home/reportlist'>Tickets</a></li>\n"
8693
} else {
8794
--- skins/bootstrap/header.txt
+++ skins/bootstrap/header.txt
@@ -77,10 +77,17 @@
77 if {[string compare $current_page "taglist"] == 0} {
78 html "<li class='active'><a href='$home/taglist'>Tags</a></li>\n"
79 } else {
80 html "<li><a href='$home/taglist'>Tags</a></li>\n"
81 }
 
 
 
 
 
 
 
82 }
83 if {[hascap r]} {
84 if {[string compare $current_page "reportlist"] == 0} {
85 html "<li class='active'><a href='$home/reportlist'>Tickets</a></li>\n"
86 } else {
87
--- skins/bootstrap/header.txt
+++ skins/bootstrap/header.txt
@@ -77,10 +77,17 @@
77 if {[string compare $current_page "taglist"] == 0} {
78 html "<li class='active'><a href='$home/taglist'>Tags</a></li>\n"
79 } else {
80 html "<li><a href='$home/taglist'>Tags</a></li>\n"
81 }
82 }
83 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
84 if {[string compare $current_page "forum"] == 0} {
85 html "<li class='active'><a href='$home/forum'>Forum</a></li>\n"
86 } else {
87 html "<li><a href='$home/forum'>Forum</a></li>\n"
88 }
89 }
90 if {[hascap r]} {
91 if {[string compare $current_page "reportlist"] == 0} {
92 html "<li class='active'><a href='$home/reportlist'>Tickets</a></li>\n"
93 } else {
94
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -27,10 +27,13 @@
2727
menulink /dir?ci=tip Files
2828
}
2929
if {[hascap o]} {
3030
menulink /brlist Branches
3131
menulink /taglist Tags
32
+}
33
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
34
+ menulink /forum Forum
3235
}
3336
if {[hascap r]} {
3437
menulink /ticket Tickets
3538
}
3639
if {[hascap j]} {
3740
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -27,10 +27,13 @@
27 menulink /dir?ci=tip Files
28 }
29 if {[hascap o]} {
30 menulink /brlist Branches
31 menulink /taglist Tags
 
 
 
32 }
33 if {[hascap r]} {
34 menulink /ticket Tickets
35 }
36 if {[hascap j]} {
37
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -27,10 +27,13 @@
27 menulink /dir?ci=tip Files
28 }
29 if {[hascap o]} {
30 menulink /brlist Branches
31 menulink /taglist Tags
32 }
33 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
34 menulink /forum Forum
35 }
36 if {[hascap r]} {
37 menulink /ticket Tickets
38 }
39 if {[hascap j]} {
40
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -106,10 +106,13 @@
106106
menulink /dir?ci=tip Files
107107
}
108108
if {[anoncap o]} {
109109
menulink /brlist Branches
110110
menulink /taglist Tags
111
+}
112
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113
+ menulink /forum Forum
111114
}
112115
if {[anoncap r]} {
113116
menulink /ticket Tickets
114117
}
115118
if {[anoncap j]} {
116119
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -106,10 +106,13 @@
106 menulink /dir?ci=tip Files
107 }
108 if {[anoncap o]} {
109 menulink /brlist Branches
110 menulink /taglist Tags
 
 
 
111 }
112 if {[anoncap r]} {
113 menulink /ticket Tickets
114 }
115 if {[anoncap j]} {
116
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -106,10 +106,13 @@
106 menulink /dir?ci=tip Files
107 }
108 if {[anoncap o]} {
109 menulink /brlist Branches
110 menulink /taglist Tags
111 }
112 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113 menulink /forum Forum
114 }
115 if {[anoncap r]} {
116 menulink /ticket Tickets
117 }
118 if {[anoncap j]} {
119
--- skins/enhanced1/header.txt
+++ skins/enhanced1/header.txt
@@ -106,10 +106,13 @@
106106
menulink /dir?ci=tip Files
107107
}
108108
if {[anoncap o]} {
109109
menulink /brlist Branches
110110
menulink /taglist Tags
111
+}
112
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113
+ menulink /forum Forum
111114
}
112115
if {[anoncap r]} {
113116
menulink /ticket Tickets
114117
}
115118
if {[anoncap j]} {
116119
--- skins/enhanced1/header.txt
+++ skins/enhanced1/header.txt
@@ -106,10 +106,13 @@
106 menulink /dir?ci=tip Files
107 }
108 if {[anoncap o]} {
109 menulink /brlist Branches
110 menulink /taglist Tags
 
 
 
111 }
112 if {[anoncap r]} {
113 menulink /ticket Tickets
114 }
115 if {[anoncap j]} {
116
--- skins/enhanced1/header.txt
+++ skins/enhanced1/header.txt
@@ -106,10 +106,13 @@
106 menulink /dir?ci=tip Files
107 }
108 if {[anoncap o]} {
109 menulink /brlist Branches
110 menulink /taglist Tags
111 }
112 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113 menulink /forum Forum
114 }
115 if {[anoncap r]} {
116 menulink /ticket Tickets
117 }
118 if {[anoncap j]} {
119
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -20,10 +20,13 @@
2020
html "<a href='$home/tree?ci=tip'>Files</a>\n"
2121
}
2222
if {[anoncap o]} {
2323
html "<a href='$home/brlist'>Branches</a>\n"
2424
html "<a href='$home/taglist'>Tags</a>\n"
25
+}
26
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
27
+ html "<a href='$home/forum'>Forum</a>\n"
2528
}
2629
if {[anoncap r]} {
2730
html "<a href='$home/ticket'>Tickets</a>\n"
2831
}
2932
if {[anoncap j]} {
3033
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -20,10 +20,13 @@
20 html "<a href='$home/tree?ci=tip'>Files</a>\n"
21 }
22 if {[anoncap o]} {
23 html "<a href='$home/brlist'>Branches</a>\n"
24 html "<a href='$home/taglist'>Tags</a>\n"
 
 
 
25 }
26 if {[anoncap r]} {
27 html "<a href='$home/ticket'>Tickets</a>\n"
28 }
29 if {[anoncap j]} {
30
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -20,10 +20,13 @@
20 html "<a href='$home/tree?ci=tip'>Files</a>\n"
21 }
22 if {[anoncap o]} {
23 html "<a href='$home/brlist'>Branches</a>\n"
24 html "<a href='$home/taglist'>Tags</a>\n"
25 }
26 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
27 html "<a href='$home/forum'>Forum</a>\n"
28 }
29 if {[anoncap r]} {
30 html "<a href='$home/ticket'>Tickets</a>\n"
31 }
32 if {[anoncap j]} {
33
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -21,10 +21,13 @@
2121
html "<a href='$home/tree?ci=tip'>Files</a>\n"
2222
}
2323
if {[anoncap o]} {
2424
html "<a href='$home/brlist'>Branches</a>\n"
2525
html "<a href='$home/taglist'>Tags</a>\n"
26
+}
27
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
28
+ html "<a href='$home/forum'>Forum</a>\n"
2629
}
2730
if {[anoncap r]} {
2831
html "<a href='$home/ticket'>Tickets</a>\n"
2932
}
3033
if {[anoncap j]} {
3134
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -21,10 +21,13 @@
21 html "<a href='$home/tree?ci=tip'>Files</a>\n"
22 }
23 if {[anoncap o]} {
24 html "<a href='$home/brlist'>Branches</a>\n"
25 html "<a href='$home/taglist'>Tags</a>\n"
 
 
 
26 }
27 if {[anoncap r]} {
28 html "<a href='$home/ticket'>Tickets</a>\n"
29 }
30 if {[anoncap j]} {
31
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -21,10 +21,13 @@
21 html "<a href='$home/tree?ci=tip'>Files</a>\n"
22 }
23 if {[anoncap o]} {
24 html "<a href='$home/brlist'>Branches</a>\n"
25 html "<a href='$home/taglist'>Tags</a>\n"
26 }
27 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
28 html "<a href='$home/forum'>Forum</a>\n"
29 }
30 if {[anoncap r]} {
31 html "<a href='$home/ticket'>Tickets</a>\n"
32 }
33 if {[anoncap j]} {
34
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -18,10 +18,13 @@
1818
html "<a href='$home/tree?ci=tip'>Files</a>\n"
1919
}
2020
if {[anoncap o]} {
2121
html "<a href='$home/brlist'>Branches</a>\n"
2222
html "<a href='$home/taglist'>Tags</a>\n"
23
+}
24
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
25
+ html "<a href='$home/forum'>Forum</a>\n"
2326
}
2427
if {[anoncap r]} {
2528
html "<a href='$home/ticket'>Tickets</a>\n"
2629
}
2730
if {[anoncap j]} {
2831
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -18,10 +18,13 @@
18 html "<a href='$home/tree?ci=tip'>Files</a>\n"
19 }
20 if {[anoncap o]} {
21 html "<a href='$home/brlist'>Branches</a>\n"
22 html "<a href='$home/taglist'>Tags</a>\n"
 
 
 
23 }
24 if {[anoncap r]} {
25 html "<a href='$home/ticket'>Tickets</a>\n"
26 }
27 if {[anoncap j]} {
28
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -18,10 +18,13 @@
18 html "<a href='$home/tree?ci=tip'>Files</a>\n"
19 }
20 if {[anoncap o]} {
21 html "<a href='$home/brlist'>Branches</a>\n"
22 html "<a href='$home/taglist'>Tags</a>\n"
23 }
24 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
25 html "<a href='$home/forum'>Forum</a>\n"
26 }
27 if {[anoncap r]} {
28 html "<a href='$home/ticket'>Tickets</a>\n"
29 }
30 if {[anoncap j]} {
31
--- skins/rounded1/header.txt
+++ skins/rounded1/header.txt
@@ -22,10 +22,13 @@
2222
html "<a href='$home/tree?ci=tip'>Files</a>\n"
2323
}
2424
if {[anoncap o]} {
2525
html "<a href='$home/brlist'>Branches</a>\n"
2626
html "<a href='$home/taglist'>Tags</a>\n"
27
+}
28
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
29
+ html "<a href='$home/forum'>Forum</a>\n"
2730
}
2831
if {[anoncap r]} {
2932
html "<a href='$home/ticket'>Tickets</a>\n"
3033
}
3134
if {[anoncap j]} {
3235
--- skins/rounded1/header.txt
+++ skins/rounded1/header.txt
@@ -22,10 +22,13 @@
22 html "<a href='$home/tree?ci=tip'>Files</a>\n"
23 }
24 if {[anoncap o]} {
25 html "<a href='$home/brlist'>Branches</a>\n"
26 html "<a href='$home/taglist'>Tags</a>\n"
 
 
 
27 }
28 if {[anoncap r]} {
29 html "<a href='$home/ticket'>Tickets</a>\n"
30 }
31 if {[anoncap j]} {
32
--- skins/rounded1/header.txt
+++ skins/rounded1/header.txt
@@ -22,10 +22,13 @@
22 html "<a href='$home/tree?ci=tip'>Files</a>\n"
23 }
24 if {[anoncap o]} {
25 html "<a href='$home/brlist'>Branches</a>\n"
26 html "<a href='$home/taglist'>Tags</a>\n"
27 }
28 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
29 html "<a href='$home/forum'>Forum</a>\n"
30 }
31 if {[anoncap r]} {
32 html "<a href='$home/ticket'>Tickets</a>\n"
33 }
34 if {[anoncap j]} {
35
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -110,10 +110,13 @@
110110
menulink /dir?ci=tip Files
111111
}
112112
if {[anoncap o]} {
113113
menulink /brlist Branches
114114
menulink /taglist Tags
115
+}
116
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
117
+ menulink /forum Forum
115118
}
116119
if {[anoncap r]} {
117120
menulink /ticket Tickets
118121
}
119122
if {[anoncap j]} {
120123
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -110,10 +110,13 @@
110 menulink /dir?ci=tip Files
111 }
112 if {[anoncap o]} {
113 menulink /brlist Branches
114 menulink /taglist Tags
 
 
 
115 }
116 if {[anoncap r]} {
117 menulink /ticket Tickets
118 }
119 if {[anoncap j]} {
120
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -110,10 +110,13 @@
110 menulink /dir?ci=tip Files
111 }
112 if {[anoncap o]} {
113 menulink /brlist Branches
114 menulink /taglist Tags
115 }
116 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
117 menulink /forum Forum
118 }
119 if {[anoncap r]} {
120 menulink /ticket Tickets
121 }
122 if {[anoncap j]} {
123

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button