285
286
287
288
289
290
291
292
293
294
295
296
297
298
|
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
|
+
|
int modPending; /* Pending moderation */
char *zDateLink; /* URL for the link on the timestamp */
int drawDetailEllipsis; /* True to show ellipsis in place of detail */
int gidx = 0; /* Graph row identifier */
int isSelectedOrCurrent = 0; /* True if current row is selected */
const char *zExtraClass = "";
char zTime[20];
char *zMainBranch = db_get("main-branch","trunk");
if( zDate==0 ){
zDate = "YYYY-MM-DD HH:MM:SS"; /* Something wrong with the repo */
}
modPending = moderation_pending(rid);
if( tagid ){
if( modPending ) tagid = -tagid;
|
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
|
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
|
-
+
|
&& (pGraph || zBgClr==0 || (tmFlags & (TIMELINE_BRCOLOR|TIMELINE_DELTA))!=0)
){
zBr = branch_of_rid(rid);
if( zBgClr==0 || (tmFlags & TIMELINE_BRCOLOR)!=0 ){
/* If no background color is specified, use a color based on the
** branch name */
if( tmFlags & (TIMELINE_DELTA|TIMELINE_NOCOLOR) ){
}else if( zBr==0 || strcmp(zBr,"trunk")==0 ){
}else if( zBr==0 || strcmp(zBr,zMainBranch)==0 ){
zBgClr = 0;
}else{
zBgClr = hash_color(zBr);
}
}
}
if( zType[0]=='c' && pGraph ){
|
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
|
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
|
-
+
|
@ %W(blob_str(&truncated))
blob_reset(&truncated);
drawDetailEllipsis = 0;
}else{
cgi_printf("%W",blob_str(&comment));
}
}
if( zType[0]=='c' && strcmp(zUuid, MANIFEST_UUID)==0 ){
/* This will only ever happen when Fossil is drawing a timeline for
** its own self-host repository. If the timeline shows the specific
** check-in corresponding to the current executable, then tag that
** check-in with "This is me!". */
@ <b>← This is me!</b>
}
|