Fossil

Check-in [b39985508b]
Login

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

Overview
Comment:New class "timelineDetailCell" for all <td> elements that hold the separate detail column of a timeline.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b39985508bf31c4d8890a283593018c1677fd493171e8ac81d936a48ce9d4d89
User & Date: drh 2017-11-24 20:46:16.636
Context
2017-11-24
21:51
On the /timeline and /finfo pages, change the hyperlinks under the timestamp to point to the object referenced. This allows the timeline to be configured for "comment-only" but still provide a link to the object. check-in: 77dfcc91ed user: drh tags: trunk
20:46
New class "timelineDetailCell" for all <td> elements that hold the separate detail column of a timeline. check-in: b39985508b user: drh tags: trunk
20:30
Add a new timeline format that puts the details in a separate table column from the check-in comment. check-in: dbb7447372 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/finfo.c.
524
525
526
527
528
529
530
531

532
533
534
535
536
537
538
539
540
    @ <span class="timelineComment timelineCheckinComment">%W(zCom)</span>
    if( bHashAfterComment && zUuid ){
      hyperlink_to_uuid(zUuid);
    }
    if( bShowDetail ){
      if( bSeparateDetail ){
        if( zBgClr && zBgClr[0] ){
          @ <td class="timelineTableCell" style="background-color: %h(zBgClr);">

        }else{
          @ <td class="timelineTableCell">
        }
      }
      cgi_printf("<span class='timelineDetail timelineCheckinDetail'>(");
      if( zUuid && bHashInDetail ){
        @ file: %z(href("%R/artifact/%!S",zUuid))[%S(zUuid)]</a>
        if( fShowId ){
          int srcId = delta_source_rid(frid);







|
>

|







524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
    @ <span class="timelineComment timelineCheckinComment">%W(zCom)</span>
    if( bHashAfterComment && zUuid ){
      hyperlink_to_uuid(zUuid);
    }
    if( bShowDetail ){
      if( bSeparateDetail ){
        if( zBgClr && zBgClr[0] ){
          @ <td class="timelineTableCell timelineDetailCell"
          @  style="background-color: %h(zBgClr);">
        }else{
          @ <td class="timelineTableCell timelineDetailCell">
        }
      }
      cgi_printf("<span class='timelineDetail timelineCheckinDetail'>(");
      if( zUuid && bHashInDetail ){
        @ file: %z(href("%R/artifact/%!S",zUuid))[%S(zUuid)]</a>
        if( fShowId ){
          int srcId = delta_source_rid(frid);
Changes to src/timeline.c.
538
539
540
541
542
543
544
545

546
547
548
549
550
551
552
553
554

    /* Generate extra information and hyperlinks to follow the comment.
    ** Example:  "(check-in: [abcdefg], user: drh, tags: trunk)"
    */
    if( bShowDetail ){
      if( bSeparateDetail ){
        if( zBgClr && zBgClr[0] && rid!=selectedRid ){
          @ <td class="timelineTableCell" style="background-color: %h(zBgClr);">

        }else{
          @ <td class="timelineTableCell">
        }
      }
      if( zType[0]=='c' ){
        cgi_printf("<span class='timelineDetail timelineCheckinDetail'>(");
      }else{
        cgi_printf("<span class='timelineDetail'>(");
      }







|
>

|







538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555

    /* Generate extra information and hyperlinks to follow the comment.
    ** Example:  "(check-in: [abcdefg], user: drh, tags: trunk)"
    */
    if( bShowDetail ){
      if( bSeparateDetail ){
        if( zBgClr && zBgClr[0] && rid!=selectedRid ){
          @ <td class="timelineTableCell timelineDetailCell"
          @  style="background-color: %h(zBgClr);">
        }else{
          @ <td class="timelineTableCell timelineDetailCell">
        }
      }
      if( zType[0]=='c' ){
        cgi_printf("<span class='timelineDetail timelineCheckinDetail'>(");
      }else{
        cgi_printf("<span class='timelineDetail'>(");
      }