Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Have line numbers option use /artifact/ page, not /info/. This makes it possible to get line numbers for a manifest. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
259b912a937d36ed47e048941855f852 |
| User & Date: | andygoth 2015-07-14 22:01:48.715 |
Context
|
2015-07-15
| ||
| 00:21 | Update the changes file. ... (check-in: a1024ff762 user: mistachkin tags: trunk) | |
|
2015-07-14
| ||
| 22:01 | Have line numbers option use /artifact/ page, not /info/. This makes it possible to get line numbers for a manifest. ... (check-in: 259b912a93 user: andygoth tags: trunk) | |
| 00:38 | Make the "fossil clean" command undoable. ... (check-in: 1bf792eeeb user: drh tags: trunk) | |
Changes
Changes to src/info.c.
| ︙ | ︙ | |||
1884 1885 1886 1887 1888 1889 1890 |
if( (objType & (OBJTYPE_WIKI|OBJTYPE_TICKET))!=0 ){
style_submenu_element("Parsed", "Parsed", "%R/info/%s", zUuid);
}
if( descOnly ){
style_submenu_element("Content", "Content", "%R/artifact/%s", zUuid);
}else{
style_submenu_element("Line Numbers", "Line Numbers",
| | | 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 |
if( (objType & (OBJTYPE_WIKI|OBJTYPE_TICKET))!=0 ){
style_submenu_element("Parsed", "Parsed", "%R/info/%s", zUuid);
}
if( descOnly ){
style_submenu_element("Content", "Content", "%R/artifact/%s", zUuid);
}else{
style_submenu_element("Line Numbers", "Line Numbers",
"%R/artifact/%s%s",zUuid,
((zLn&&*zLn) ? "" : "?txt=1&ln=0"));
@ <hr />
content_get(rid, &content);
if( renderAsWiki ){
wiki_render_by_mimetype(&content, zMime);
}else if( renderAsHtml ){
@ <iframe src="%R/raw/%T(blob_str(&downloadName))?name=%s(zUuid)"
|
| ︙ | ︙ |