Fossil SCM

The new mainmenu element previously called "Setup" reverted a years-old change to use "Admin" for this menu because about half of the items on the /setup screen are also usable by people with only the Admin cap. This also changes the capexpr to include "a" for the same reason.

wyoung 2021-02-26 13:07 trunk
Commit 7260ff21b3c77a45d46bd766461ad55a295133a07d7c0c626a31178d62a280b8
1 file changed +1 -1
+1 -1
--- src/style.c
+++ src/style.c
@@ -609,11 +609,11 @@
609609
@ Tags /taglist o wideonly
610610
@ Forum /forum {@2 3 4 5 6} wideonly
611611
@ Chat /chat C wideonly
612612
@ Tickets /ticket r wideonly
613613
@ Wiki /wiki j wideonly
614
-@ Setup /setup s desktoponly
614
+@ Admin /setup {a s} desktoponly
615615
@ Logout /logout L wideonly
616616
@ Login /login !L wideonly
617617
;
618618
619619
/*
620620
--- src/style.c
+++ src/style.c
@@ -609,11 +609,11 @@
609 @ Tags /taglist o wideonly
610 @ Forum /forum {@2 3 4 5 6} wideonly
611 @ Chat /chat C wideonly
612 @ Tickets /ticket r wideonly
613 @ Wiki /wiki j wideonly
614 @ Setup /setup s desktoponly
615 @ Logout /logout L wideonly
616 @ Login /login !L wideonly
617 ;
618
619 /*
620
--- src/style.c
+++ src/style.c
@@ -609,11 +609,11 @@
609 @ Tags /taglist o wideonly
610 @ Forum /forum {@2 3 4 5 6} wideonly
611 @ Chat /chat C wideonly
612 @ Tickets /ticket r wideonly
613 @ Wiki /wiki j wideonly
614 @ Admin /setup {a s} desktoponly
615 @ Logout /logout L wideonly
616 @ Login /login !L wideonly
617 ;
618
619 /*
620

Keyboard Shortcuts

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