Fossil SCM

Remove the [...] surrounding hashes in the detail information of the timeline.

drh 2017-12-05 16:04 trunk
Commit cc846d4bcd880f40498097de095010a60f965c0d5ec452b1429948c5c6d5b738
1 file changed +2 -4
+2 -4
--- src/timeline.c
+++ src/timeline.c
@@ -551,18 +551,16 @@
551551
@ <span class='timelineLeaf'>Closed-Leaf</span>
552552
}else{
553553
@ <span class='timelineLeaf'>Leaf</span>
554554
}
555555
}
556
- cgi_printf("check-in:&nbsp;");
557
- hyperlink_to_uuid(zUuid);
556
+ cgi_printf("check-in:&nbsp;%z%S</a> ",href("%R/info/%!S",zUuid),zUuid);
558557
}else if( zType[0]=='e' && tagid ){
559558
cgi_printf("technote:&nbsp;");
560559
hyperlink_to_event_tagid(tagid<0?-tagid:tagid);
561560
}else{
562
- cgi_printf("artifact:&nbsp;");
563
- hyperlink_to_uuid(zUuid);
561
+ cgi_printf("artifact:&nbsp;%z%S</a> ",href("%R/info/%!S",zUuid),zUuid);
564562
}
565563
}
566564
567565
if( g.perm.Hyperlink && fossil_strcmp(zDispUser, zThisUser)!=0 ){
568566
char *zLink = mprintf("%R/timeline?u=%h&c=%t&nd&n=200", zDispUser, zDate);
569567
--- src/timeline.c
+++ src/timeline.c
@@ -551,18 +551,16 @@
551 @ <span class='timelineLeaf'>Closed-Leaf</span>
552 }else{
553 @ <span class='timelineLeaf'>Leaf</span>
554 }
555 }
556 cgi_printf("check-in:&nbsp;");
557 hyperlink_to_uuid(zUuid);
558 }else if( zType[0]=='e' && tagid ){
559 cgi_printf("technote:&nbsp;");
560 hyperlink_to_event_tagid(tagid<0?-tagid:tagid);
561 }else{
562 cgi_printf("artifact:&nbsp;");
563 hyperlink_to_uuid(zUuid);
564 }
565 }
566
567 if( g.perm.Hyperlink && fossil_strcmp(zDispUser, zThisUser)!=0 ){
568 char *zLink = mprintf("%R/timeline?u=%h&c=%t&nd&n=200", zDispUser, zDate);
569
--- src/timeline.c
+++ src/timeline.c
@@ -551,18 +551,16 @@
551 @ <span class='timelineLeaf'>Closed-Leaf</span>
552 }else{
553 @ <span class='timelineLeaf'>Leaf</span>
554 }
555 }
556 cgi_printf("check-in:&nbsp;%z%S</a> ",href("%R/info/%!S",zUuid),zUuid);
 
557 }else if( zType[0]=='e' && tagid ){
558 cgi_printf("technote:&nbsp;");
559 hyperlink_to_event_tagid(tagid<0?-tagid:tagid);
560 }else{
561 cgi_printf("artifact:&nbsp;%z%S</a> ",href("%R/info/%!S",zUuid),zUuid);
 
562 }
563 }
564
565 if( g.perm.Hyperlink && fossil_strcmp(zDispUser, zThisUser)!=0 ){
566 char *zLink = mprintf("%R/timeline?u=%h&c=%t&nd&n=200", zDispUser, zDate);
567

Keyboard Shortcuts

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