Fossil SCM
Install hyperlinks to the /clusterlist page.
Commit
3057775b543df0025b5ef9f186f4b19c6d80b76ec36781a5e17bfc66471ed0f4
Parent
90764bd6561cdad…
1 file changed
+10
+10
| --- src/name.c | ||
| +++ src/name.c | ||
| @@ -1700,10 +1700,11 @@ | ||
| 1700 | 1700 | style_submenu_element("Artifact Log", "rcvfromlist"); |
| 1701 | 1701 | } |
| 1702 | 1702 | if( !phantomOnly ){ |
| 1703 | 1703 | style_submenu_element("Phantoms", "bloblist?phan"); |
| 1704 | 1704 | } |
| 1705 | + style_submenu_element("Clusters","clusterlist"); | |
| 1705 | 1706 | if( g.perm.Private || g.perm.Admin ){ |
| 1706 | 1707 | if( !privOnly ){ |
| 1707 | 1708 | style_submenu_element("Private", "bloblist?priv"); |
| 1708 | 1709 | } |
| 1709 | 1710 | }else{ |
| @@ -2177,10 +2178,19 @@ | ||
| 2177 | 2178 | sqlite3_int64 szTotal = 0; |
| 2178 | 2179 | sqlite3_int64 szCTotal = 0; |
| 2179 | 2180 | login_check_credentials(); |
| 2180 | 2181 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 2181 | 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 | + | |
| 2182 | 2192 | db_prepare(&q, |
| 2183 | 2193 | "SELECT blob.uuid, " |
| 2184 | 2194 | " blob.size, " |
| 2185 | 2195 | " octet_length(blob.content), " |
| 2186 | 2196 | " datetime(rcvfrom.mtime)," |
| 2187 | 2197 |
| --- 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 |