Fossil SCM

Prepend the text "Note:" instead of a bullet on the timeline display of a technote.

drh 2020-12-19 14:16 trunk
Commit 2d1ef1e1f3c053ef4bc0e6a33f42ed07045b52ec213cdfe9b3cd0e790e4a3d56
1 file changed +6 -2
+6 -2
--- src/timeline.c
+++ src/timeline.c
@@ -542,12 +542,16 @@
542542
if( !isSelectedOrCurrent ){
543543
@ <td class="timeline%s(zStyle)Cell%s(zExtraClass)" id='mc%d(gidx)'>
544544
}else{
545545
@ <td class="timeline%s(zStyle)Cell%s(zExtraClass)">
546546
}
547
- if( pGraph && zType[0]!='c' ){
548
- @ &bull;
547
+ if( pGraph ){
548
+ if( zType[0]=='e' ){
549
+ @ <b>Note:</b>
550
+ }else if( zType[0]!='c' ){
551
+ @ &bull;
552
+ }
549553
}
550554
if( modPending ){
551555
@ <span class="modpending">(Awaiting Moderator Approval)</span>
552556
}
553557
if( (tmFlags & TIMELINE_BISECT)!=0 && zType[0]=='c' ){
554558
--- src/timeline.c
+++ src/timeline.c
@@ -542,12 +542,16 @@
542 if( !isSelectedOrCurrent ){
543 @ <td class="timeline%s(zStyle)Cell%s(zExtraClass)" id='mc%d(gidx)'>
544 }else{
545 @ <td class="timeline%s(zStyle)Cell%s(zExtraClass)">
546 }
547 if( pGraph && zType[0]!='c' ){
548 @ &bull;
 
 
 
 
549 }
550 if( modPending ){
551 @ <span class="modpending">(Awaiting Moderator Approval)</span>
552 }
553 if( (tmFlags & TIMELINE_BISECT)!=0 && zType[0]=='c' ){
554
--- src/timeline.c
+++ src/timeline.c
@@ -542,12 +542,16 @@
542 if( !isSelectedOrCurrent ){
543 @ <td class="timeline%s(zStyle)Cell%s(zExtraClass)" id='mc%d(gidx)'>
544 }else{
545 @ <td class="timeline%s(zStyle)Cell%s(zExtraClass)">
546 }
547 if( pGraph ){
548 if( zType[0]=='e' ){
549 @ <b>Note:</b>
550 }else if( zType[0]!='c' ){
551 @ &bull;
552 }
553 }
554 if( modPending ){
555 @ <span class="modpending">(Awaiting Moderator Approval)</span>
556 }
557 if( (tmFlags & TIMELINE_BISECT)!=0 && zType[0]=='c' ){
558

Keyboard Shortcuts

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