Fossil SCM

Install hyperlinks to the /clusterlist page.

drh 2024-12-20 16:59 trunk
Commit 3057775b543df0025b5ef9f186f4b19c6d80b76ec36781a5e17bfc66471ed0f4
1 file changed +10
+10
--- src/name.c
+++ src/name.c
@@ -1700,10 +1700,11 @@
17001700
style_submenu_element("Artifact Log", "rcvfromlist");
17011701
}
17021702
if( !phantomOnly ){
17031703
style_submenu_element("Phantoms", "bloblist?phan");
17041704
}
1705
+ style_submenu_element("Clusters","clusterlist");
17051706
if( g.perm.Private || g.perm.Admin ){
17061707
if( !privOnly ){
17071708
style_submenu_element("Private", "bloblist?priv");
17081709
}
17091710
}else{
@@ -2177,10 +2178,19 @@
21772178
sqlite3_int64 szTotal = 0;
21782179
sqlite3_int64 szCTotal = 0;
21792180
login_check_credentials();
21802181
if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
21812182
style_header("All Cluster Artifacts");
2183
+ style_submenu_element("All Artifactst", "bloblist");
2184
+ if( g.perm.Admin ){
2185
+ style_submenu_element("Artifact Log", "rcvfromlist");
2186
+ }
2187
+ style_submenu_element("Phantoms", "bloblist?phan");
2188
+ if( g.perm.Write ){
2189
+ style_submenu_element("Artifact Stats", "artifact_stats");
2190
+ }
2191
+
21822192
db_prepare(&q,
21832193
"SELECT blob.uuid, "
21842194
" blob.size, "
21852195
" octet_length(blob.content), "
21862196
" datetime(rcvfrom.mtime),"
21872197
--- src/name.c
+++ src/name.c
@@ -1700,10 +1700,11 @@
1700 style_submenu_element("Artifact Log", "rcvfromlist");
1701 }
1702 if( !phantomOnly ){
1703 style_submenu_element("Phantoms", "bloblist?phan");
1704 }
 
1705 if( g.perm.Private || g.perm.Admin ){
1706 if( !privOnly ){
1707 style_submenu_element("Private", "bloblist?priv");
1708 }
1709 }else{
@@ -2177,10 +2178,19 @@
2177 sqlite3_int64 szTotal = 0;
2178 sqlite3_int64 szCTotal = 0;
2179 login_check_credentials();
2180 if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
2181 style_header("All Cluster Artifacts");
 
 
 
 
 
 
 
 
 
2182 db_prepare(&q,
2183 "SELECT blob.uuid, "
2184 " blob.size, "
2185 " octet_length(blob.content), "
2186 " datetime(rcvfrom.mtime),"
2187
--- src/name.c
+++ src/name.c
@@ -1700,10 +1700,11 @@
1700 style_submenu_element("Artifact Log", "rcvfromlist");
1701 }
1702 if( !phantomOnly ){
1703 style_submenu_element("Phantoms", "bloblist?phan");
1704 }
1705 style_submenu_element("Clusters","clusterlist");
1706 if( g.perm.Private || g.perm.Admin ){
1707 if( !privOnly ){
1708 style_submenu_element("Private", "bloblist?priv");
1709 }
1710 }else{
@@ -2177,10 +2178,19 @@
2178 sqlite3_int64 szTotal = 0;
2179 sqlite3_int64 szCTotal = 0;
2180 login_check_credentials();
2181 if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
2182 style_header("All Cluster Artifacts");
2183 style_submenu_element("All Artifactst", "bloblist");
2184 if( g.perm.Admin ){
2185 style_submenu_element("Artifact Log", "rcvfromlist");
2186 }
2187 style_submenu_element("Phantoms", "bloblist?phan");
2188 if( g.perm.Write ){
2189 style_submenu_element("Artifact Stats", "artifact_stats");
2190 }
2191
2192 db_prepare(&q,
2193 "SELECT blob.uuid, "
2194 " blob.size, "
2195 " octet_length(blob.content), "
2196 " datetime(rcvfrom.mtime),"
2197

Keyboard Shortcuts

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