Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Add "Related" and "Branch Only" buttons to the t= and r= query parameters for /timeline. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
953357515ccf2fc9d0e6e6b3ad5c0518 |
| User & Date: | drh 2015-12-25 02:25:56.811 |
Context
|
2015-12-25
| ||
| 03:20 | Add a configuration option that will truncate the display of check-in comments on timelines at the first blank line. check-in: 96101215ae user: drh tags: trunk | |
| 02:25 | Add "Related" and "Branch Only" buttons to the t= and r= query parameters for /timeline. check-in: 953357515c user: drh tags: trunk | |
| 00:20 | Improvements to the way mlink is computed. Some unnecessary mlink entries are suppressed. Running "fossil rebuild" is recommended. check-in: e2c53534b5 user: drh tags: trunk | |
Changes
Changes to src/timeline.c.
| ︙ | |||
1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 | 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 | + + + + |
return;
}
url_initialize(&url, "timeline");
cgi_query_parameters_to_url(&url);
if( zTagName && g.perm.Read ){
tagid = db_int(-1,"SELECT tagid FROM tag WHERE tagname='sym-%q'",zTagName);
zThisTag = zTagName;
style_submenu_element("Related", "Related", "%s",
url_render(&url, "r", zTagName, "t", 0));
}else if( zBrName && g.perm.Read ){
tagid = db_int(-1,"SELECT tagid FROM tag WHERE tagname='sym-%q'",zBrName);
zThisTag = zBrName;
style_submenu_element("Branch Only", "only", "%s",
url_render(&url, "t", zBrName, "r", 0));
}else{
tagid = 0;
}
if( zMark && zMark[0]==0 ){
if( zAfter ) zMark = zAfter;
if( zBefore ) zMark = zBefore;
if( zCirca ) zMark = zCirca;
|
| ︙ |