Fossil

Check-in [2df238e5]
Login

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

Overview
Comment:Restore this display of "Leaf" and "Closed-Leaf" but now put it after the check-in comment.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | timeline-improvements
Files: files | file ages | folders
SHA3-256: 2df238e5ab37d6f340eda94bcea187c4aa21a94a43fb71754d2f7449e9254f33
User & Date: drh 2017-11-24 16:06:51
Context
2017-11-24
16:25
New <span> element with the timelineExtraLinks class for the hyperlinks at the end of each entry on the /finfo page. check-in: 1186f65e user: drh tags: timeline-improvements
16:06
Restore this display of "Leaf" and "Closed-Leaf" but now put it after the check-in comment. check-in: 2df238e5 user: drh tags: timeline-improvements
14:19
Give greater emphasis to the check-in comment on timeline displays. Move the check-in hash into the details section at the end of each entry. check-in: 4438e68d user: drh tags: timeline-improvements
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/timeline.c.

462
463
464
465
466
467
468










469
470
471
472
473
474
475
...
518
519
520
521
522
523
524

525
526
527
528
529
530
531
    }
    blob_reset(&comment);

    /* Generate extra information and hyperlinks to follow the comment.
    ** Example:  "(check-in: [abcdefg], user: drh, tags: trunk)"
    */
    cgi_printf("<span class='timelineDetail'>(");










    if( zType[0]=='c' ){
      cgi_printf("check-in: ");
      hyperlink_to_uuid(zUuid);
    }else if( zType[0]=='e' && tagid ){
      cgi_printf("technote: ");
      hyperlink_to_event_tagid(tagid<0?-tagid:tagid);
    }else{
................................................................................
      int srcId = delta_source_rid(rid);
      if( srcId ){
        cgi_printf(" id: %d&larr;%d", rid, srcId);
      }else{
        cgi_printf(" id: %d", rid);
      }
    }

    cgi_printf(")</span>\n");  /* End of the details section */

    tag_private_status(rid);

    /* Generate extra hyperlinks at the end of the comment */
    if( xExtra ){
      xExtra(rid);







>
>
>
>
>
>
>
>
>
>







 







>







462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
...
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
    }
    blob_reset(&comment);

    /* Generate extra information and hyperlinks to follow the comment.
    ** Example:  "(check-in: [abcdefg], user: drh, tags: trunk)"
    */
    cgi_printf("<span class='timelineDetail'>(");
    if( isLeaf ){
      if( db_exists("SELECT 1 FROM tagxref"
                    " WHERE rid=%d AND tagid=%d AND tagtype>0",
                    rid, TAG_CLOSED) ){
        @ <span class='timelineLeaf'>Closed-Leaf</span>
      }else{
        @ <span class='timelineLeaf'>Leaf</span>
      }
    }

    if( zType[0]=='c' ){
      cgi_printf("check-in: ");
      hyperlink_to_uuid(zUuid);
    }else if( zType[0]=='e' && tagid ){
      cgi_printf("technote: ");
      hyperlink_to_event_tagid(tagid<0?-tagid:tagid);
    }else{
................................................................................
      int srcId = delta_source_rid(rid);
      if( srcId ){
        cgi_printf(" id: %d&larr;%d", rid, srcId);
      }else{
        cgi_printf(" id: %d", rid);
      }
    }

    cgi_printf(")</span>\n");  /* End of the details section */

    tag_private_status(rid);

    /* Generate extra hyperlinks at the end of the comment */
    if( xExtra ){
      xExtra(rid);