Fossil SCM
Have line numbers option use /artifact/ page, not /info/. This makes it possible to get line numbers for a manifest.
Commit
259b912a937d36ed47e048941855f8523e0f95d9
Parent
1bf792eeeb4171f…
1 file changed
+1
-1
+1
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -1886,11 +1886,11 @@ | ||
| 1886 | 1886 | } |
| 1887 | 1887 | if( descOnly ){ |
| 1888 | 1888 | style_submenu_element("Content", "Content", "%R/artifact/%s", zUuid); |
| 1889 | 1889 | }else{ |
| 1890 | 1890 | style_submenu_element("Line Numbers", "Line Numbers", |
| 1891 | - "%R/info/%s%s",zUuid, | |
| 1891 | + "%R/artifact/%s%s",zUuid, | |
| 1892 | 1892 | ((zLn&&*zLn) ? "" : "?txt=1&ln=0")); |
| 1893 | 1893 | @ <hr /> |
| 1894 | 1894 | content_get(rid, &content); |
| 1895 | 1895 | if( renderAsWiki ){ |
| 1896 | 1896 | wiki_render_by_mimetype(&content, zMime); |
| 1897 | 1897 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -1886,11 +1886,11 @@ | |
| 1886 | } |
| 1887 | if( descOnly ){ |
| 1888 | style_submenu_element("Content", "Content", "%R/artifact/%s", zUuid); |
| 1889 | }else{ |
| 1890 | style_submenu_element("Line Numbers", "Line Numbers", |
| 1891 | "%R/info/%s%s",zUuid, |
| 1892 | ((zLn&&*zLn) ? "" : "?txt=1&ln=0")); |
| 1893 | @ <hr /> |
| 1894 | content_get(rid, &content); |
| 1895 | if( renderAsWiki ){ |
| 1896 | wiki_render_by_mimetype(&content, zMime); |
| 1897 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -1886,11 +1886,11 @@ | |
| 1886 | } |
| 1887 | if( descOnly ){ |
| 1888 | style_submenu_element("Content", "Content", "%R/artifact/%s", zUuid); |
| 1889 | }else{ |
| 1890 | style_submenu_element("Line Numbers", "Line Numbers", |
| 1891 | "%R/artifact/%s%s",zUuid, |
| 1892 | ((zLn&&*zLn) ? "" : "?txt=1&ln=0")); |
| 1893 | @ <hr /> |
| 1894 | content_get(rid, &content); |
| 1895 | if( renderAsWiki ){ |
| 1896 | wiki_render_by_mimetype(&content, zMime); |
| 1897 |