Fossil SCM

Since the /info page is now reachable by double-clicking on the graph node, change the timestamp to be a link to the general /timeline page around that particular time.

drh 2019-06-05 20:15 trunk
Commit 036c854da3ae1ea51d04db05be1ff29de58320aa18dcec82348b059cada08b7d
1 file changed +2 -6
+2 -6
--- src/timeline.c
+++ src/timeline.c
@@ -399,17 +399,13 @@
399399
isSelectedOrCurrent = 1;
400400
}else {
401401
@ <tr>
402402
}
403403
if( zType[0]=='e' && tagid ){
404
- char *zId;
405
- zId = db_text(0, "SELECT substr(tagname, 7) FROM tag WHERE tagid=%d",
406
- tagid);
407
- zDateLink = href("%R/technote/%s",zId);
408
- free(zId);
404
+ zDateLink = href("%R/timeline?c=%t",zDate);
409405
}else if( zUuid ){
410
- zDateLink = chref("timelineHistLink", "%R/info/%!S", zUuid);
406
+ zDateLink = chref("timelineHistLink", "%R/timeline?c=%!S", zUuid);
411407
}else{
412408
zDateLink = mprintf("<a>");
413409
}
414410
@ <td class="timelineTime">%z(zDateLink)%s(zTime)</a></td>
415411
@ <td class="timelineGraph">
416412
--- src/timeline.c
+++ src/timeline.c
@@ -399,17 +399,13 @@
399 isSelectedOrCurrent = 1;
400 }else {
401 @ <tr>
402 }
403 if( zType[0]=='e' && tagid ){
404 char *zId;
405 zId = db_text(0, "SELECT substr(tagname, 7) FROM tag WHERE tagid=%d",
406 tagid);
407 zDateLink = href("%R/technote/%s",zId);
408 free(zId);
409 }else if( zUuid ){
410 zDateLink = chref("timelineHistLink", "%R/info/%!S", zUuid);
411 }else{
412 zDateLink = mprintf("<a>");
413 }
414 @ <td class="timelineTime">%z(zDateLink)%s(zTime)</a></td>
415 @ <td class="timelineGraph">
416
--- src/timeline.c
+++ src/timeline.c
@@ -399,17 +399,13 @@
399 isSelectedOrCurrent = 1;
400 }else {
401 @ <tr>
402 }
403 if( zType[0]=='e' && tagid ){
404 zDateLink = href("%R/timeline?c=%t",zDate);
 
 
 
 
405 }else if( zUuid ){
406 zDateLink = chref("timelineHistLink", "%R/timeline?c=%!S", zUuid);
407 }else{
408 zDateLink = mprintf("<a>");
409 }
410 @ <td class="timelineTime">%z(zDateLink)%s(zTime)</a></td>
411 @ <td class="timelineGraph">
412

Keyboard Shortcuts

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