Fossil SCM

Have line numbers option use /artifact/ page, not /info/. This makes it possible to get line numbers for a manifest.

andygoth 2015-07-14 22:01 trunk
Commit 259b912a937d36ed47e048941855f8523e0f95d9
1 file changed +1 -1
+1 -1
--- src/info.c
+++ src/info.c
@@ -1886,11 +1886,11 @@
18861886
}
18871887
if( descOnly ){
18881888
style_submenu_element("Content", "Content", "%R/artifact/%s", zUuid);
18891889
}else{
18901890
style_submenu_element("Line Numbers", "Line Numbers",
1891
- "%R/info/%s%s",zUuid,
1891
+ "%R/artifact/%s%s",zUuid,
18921892
((zLn&&*zLn) ? "" : "?txt=1&ln=0"));
18931893
@ <hr />
18941894
content_get(rid, &content);
18951895
if( renderAsWiki ){
18961896
wiki_render_by_mimetype(&content, zMime);
18971897
--- 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

Keyboard Shortcuts

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