Fossil

Check-in [036c854d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment: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.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 036c854da3ae1ea51d04db05be1ff29de58320aa18dcec82348b059cada08b7d
User & Date: drh 2019-06-05 20:15:47
Context
2019-06-05
20:21
Updates to the change log for version 2.9. check-in: 2a25a8eb user: drh tags: trunk
20:15
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. check-in: 036c854d user: drh tags: trunk
20:08
Tweaks to the "Copy Button". check-in: 8ee5e55e user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/timeline.c.

397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
    }else if( rid==vid ){
      @ <tr class="timelineCurrent">
      isSelectedOrCurrent = 1;
    }else {
      @ <tr>
    }
    if( zType[0]=='e' && tagid ){
      char *zId;
      zId = db_text(0, "SELECT substr(tagname, 7) FROM tag WHERE tagid=%d",
                        tagid);
      zDateLink = href("%R/technote/%s",zId);
      free(zId);
    }else if( zUuid ){
      zDateLink = chref("timelineHistLink", "%R/info/%!S", zUuid);
    }else{
      zDateLink = mprintf("<a>");
    }
    @ <td class="timelineTime">%z(zDateLink)%s(zTime)</a></td>
    @ <td class="timelineGraph">
    if( tmFlags & TIMELINE_UCOLOR )  zBgClr = zUser ? hash_color(zUser) : 0;
    if( zType[0]=='c'







<
<
<
|
<

|







397
398
399
400
401
402
403



404

405
406
407
408
409
410
411
412
413
    }else if( rid==vid ){
      @ <tr class="timelineCurrent">
      isSelectedOrCurrent = 1;
    }else {
      @ <tr>
    }
    if( zType[0]=='e' && tagid ){



      zDateLink = href("%R/timeline?c=%t",zDate);

    }else if( zUuid ){
      zDateLink = chref("timelineHistLink", "%R/timeline?c=%!S", zUuid);
    }else{
      zDateLink = mprintf("<a>");
    }
    @ <td class="timelineTime">%z(zDateLink)%s(zTime)</a></td>
    @ <td class="timelineGraph">
    if( tmFlags & TIMELINE_UCOLOR )  zBgClr = zUser ? hash_color(zUser) : 0;
    if( zType[0]=='c'