Fossil SCM

Improvements to the header of from/to timelines.

drh 2013-09-30 13:32 trunk
Commit 564d75b0cd58f6628d41f39ebb3c7e3561f8edff
1 file changed +2 -2
+2 -2
--- src/timeline.c
+++ src/timeline.c
@@ -1159,12 +1159,12 @@
11591159
p = p->u.pTo;
11601160
}
11611161
blob_append(&sql, ")", -1);
11621162
path_reset();
11631163
blob_append(&desc, "All nodes on the path from ", -1);
1164
- blob_appendf(&desc, "%z%h</a>", href("%R/info/%h", zFrom), zFrom);
1165
- blob_append(&desc, " and ", -1);
1164
+ blob_appendf(&desc, "%z[%h]</a>", href("%R/info/%h", zFrom), zFrom);
1165
+ blob_append(&desc, " to ", -1);
11661166
blob_appendf(&desc, "%z[%h]</a>", href("%R/info/%h",zTo), zTo);
11671167
tmFlags |= TIMELINE_DISJOINT;
11681168
db_multi_exec("%s", blob_str(&sql));
11691169
}else if( (p_rid || d_rid) && g.perm.Read ){
11701170
/* If p= or d= is present, ignore all other parameters other than n= */
11711171
--- src/timeline.c
+++ src/timeline.c
@@ -1159,12 +1159,12 @@
1159 p = p->u.pTo;
1160 }
1161 blob_append(&sql, ")", -1);
1162 path_reset();
1163 blob_append(&desc, "All nodes on the path from ", -1);
1164 blob_appendf(&desc, "%z%h</a>", href("%R/info/%h", zFrom), zFrom);
1165 blob_append(&desc, " and ", -1);
1166 blob_appendf(&desc, "%z[%h]</a>", href("%R/info/%h",zTo), zTo);
1167 tmFlags |= TIMELINE_DISJOINT;
1168 db_multi_exec("%s", blob_str(&sql));
1169 }else if( (p_rid || d_rid) && g.perm.Read ){
1170 /* If p= or d= is present, ignore all other parameters other than n= */
1171
--- src/timeline.c
+++ src/timeline.c
@@ -1159,12 +1159,12 @@
1159 p = p->u.pTo;
1160 }
1161 blob_append(&sql, ")", -1);
1162 path_reset();
1163 blob_append(&desc, "All nodes on the path from ", -1);
1164 blob_appendf(&desc, "%z[%h]</a>", href("%R/info/%h", zFrom), zFrom);
1165 blob_append(&desc, " to ", -1);
1166 blob_appendf(&desc, "%z[%h]</a>", href("%R/info/%h",zTo), zTo);
1167 tmFlags |= TIMELINE_DISJOINT;
1168 db_multi_exec("%s", blob_str(&sql));
1169 }else if( (p_rid || d_rid) && g.perm.Read ){
1170 /* If p= or d= is present, ignore all other parameters other than n= */
1171

Keyboard Shortcuts

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