Fossil SCM
Change the /test-version webpage into /version. Link it to /stat.
Commit
286effd5e9fef7545f5944180b10761283386e37
Parent
01d1f519cd299eb…
2 files changed
+2
-1
+1
-1
+2
-1
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -1011,11 +1011,11 @@ | ||
| 1011 | 1011 | fossil_print("%s", blob_str(&versionInfo)); |
| 1012 | 1012 | } |
| 1013 | 1013 | |
| 1014 | 1014 | |
| 1015 | 1015 | /* |
| 1016 | -** WEBPAGE: test-version | |
| 1016 | +** WEBPAGE: version | |
| 1017 | 1017 | ** |
| 1018 | 1018 | ** Show the version information for Fossil. |
| 1019 | 1019 | ** |
| 1020 | 1020 | ** Query parameters: |
| 1021 | 1021 | ** |
| @@ -1027,10 +1027,11 @@ | ||
| 1027 | 1027 | |
| 1028 | 1028 | login_check_credentials(); |
| 1029 | 1029 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 1030 | 1030 | verboseFlag = P("verbose")!=0; |
| 1031 | 1031 | style_header("Version Information"); |
| 1032 | + style_submenu_element("Stat", "stat"); | |
| 1032 | 1033 | get_version_blob(&versionInfo, verboseFlag); |
| 1033 | 1034 | @ <blockquote><pre> |
| 1034 | 1035 | @ %h(blob_str(&versionInfo)) |
| 1035 | 1036 | @ </pre></blockquote> |
| 1036 | 1037 | style_footer(); |
| 1037 | 1038 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1011,11 +1011,11 @@ | |
| 1011 | fossil_print("%s", blob_str(&versionInfo)); |
| 1012 | } |
| 1013 | |
| 1014 | |
| 1015 | /* |
| 1016 | ** WEBPAGE: test-version |
| 1017 | ** |
| 1018 | ** Show the version information for Fossil. |
| 1019 | ** |
| 1020 | ** Query parameters: |
| 1021 | ** |
| @@ -1027,10 +1027,11 @@ | |
| 1027 | |
| 1028 | login_check_credentials(); |
| 1029 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 1030 | verboseFlag = P("verbose")!=0; |
| 1031 | style_header("Version Information"); |
| 1032 | get_version_blob(&versionInfo, verboseFlag); |
| 1033 | @ <blockquote><pre> |
| 1034 | @ %h(blob_str(&versionInfo)) |
| 1035 | @ </pre></blockquote> |
| 1036 | style_footer(); |
| 1037 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1011,11 +1011,11 @@ | |
| 1011 | fossil_print("%s", blob_str(&versionInfo)); |
| 1012 | } |
| 1013 | |
| 1014 | |
| 1015 | /* |
| 1016 | ** WEBPAGE: version |
| 1017 | ** |
| 1018 | ** Show the version information for Fossil. |
| 1019 | ** |
| 1020 | ** Query parameters: |
| 1021 | ** |
| @@ -1027,10 +1027,11 @@ | |
| 1027 | |
| 1028 | login_check_credentials(); |
| 1029 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 1030 | verboseFlag = P("verbose")!=0; |
| 1031 | style_header("Version Information"); |
| 1032 | style_submenu_element("Stat", "stat"); |
| 1033 | get_version_blob(&versionInfo, verboseFlag); |
| 1034 | @ <blockquote><pre> |
| 1035 | @ %h(blob_str(&versionInfo)) |
| 1036 | @ </pre></blockquote> |
| 1037 | style_footer(); |
| 1038 |
+1
-1
| --- src/stat.c | ||
| +++ src/stat.c | ||
| @@ -178,11 +178,11 @@ | ||
| 178 | 178 | @ <td>%h(p) %h(db_get("parent-project-name",""))</td></tr> |
| 179 | 179 | } |
| 180 | 180 | /* @ <tr><th>Server ID:</th><td>%h(db_get("server-code",""))</td></tr> */ |
| 181 | 181 | @ <tr><th>Fossil Version:</th><td> |
| 182 | 182 | @ %h(MANIFEST_DATE) %h(MANIFEST_VERSION) |
| 183 | - @ (%h(RELEASE_VERSION)) [compiled using %h(COMPILER_NAME)] | |
| 183 | + @ (%h(RELEASE_VERSION)) <a href='version?verbose=1'>(details)</a> | |
| 184 | 184 | @ </td></tr> |
| 185 | 185 | @ <tr><th>SQLite Version:</th><td>%.19s(sqlite3_sourceid()) |
| 186 | 186 | @ [%.10s(&sqlite3_sourceid()[20])] (%s(sqlite3_libversion()))</td></tr> |
| 187 | 187 | @ <tr><th>Schema Version:</th><td>%h(g.zAuxSchema)</td></tr> |
| 188 | 188 | @ <tr><th>Repository Rebuilt:</th><td> |
| 189 | 189 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -178,11 +178,11 @@ | |
| 178 | @ <td>%h(p) %h(db_get("parent-project-name",""))</td></tr> |
| 179 | } |
| 180 | /* @ <tr><th>Server ID:</th><td>%h(db_get("server-code",""))</td></tr> */ |
| 181 | @ <tr><th>Fossil Version:</th><td> |
| 182 | @ %h(MANIFEST_DATE) %h(MANIFEST_VERSION) |
| 183 | @ (%h(RELEASE_VERSION)) [compiled using %h(COMPILER_NAME)] |
| 184 | @ </td></tr> |
| 185 | @ <tr><th>SQLite Version:</th><td>%.19s(sqlite3_sourceid()) |
| 186 | @ [%.10s(&sqlite3_sourceid()[20])] (%s(sqlite3_libversion()))</td></tr> |
| 187 | @ <tr><th>Schema Version:</th><td>%h(g.zAuxSchema)</td></tr> |
| 188 | @ <tr><th>Repository Rebuilt:</th><td> |
| 189 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -178,11 +178,11 @@ | |
| 178 | @ <td>%h(p) %h(db_get("parent-project-name",""))</td></tr> |
| 179 | } |
| 180 | /* @ <tr><th>Server ID:</th><td>%h(db_get("server-code",""))</td></tr> */ |
| 181 | @ <tr><th>Fossil Version:</th><td> |
| 182 | @ %h(MANIFEST_DATE) %h(MANIFEST_VERSION) |
| 183 | @ (%h(RELEASE_VERSION)) <a href='version?verbose=1'>(details)</a> |
| 184 | @ </td></tr> |
| 185 | @ <tr><th>SQLite Version:</th><td>%.19s(sqlite3_sourceid()) |
| 186 | @ [%.10s(&sqlite3_sourceid()[20])] (%s(sqlite3_libversion()))</td></tr> |
| 187 | @ <tr><th>Schema Version:</th><td>%h(g.zAuxSchema)</td></tr> |
| 188 | @ <tr><th>Repository Rebuilt:</th><td> |
| 189 |