Fossil
Check-in [6953184210]
Not logged in

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

Overview

SHA1 Hash:6953184210e92dc4f515bd405a35a93b10eacb1b
Date: 2010-03-17 01:03:46
User: drh
Comment:Fix a bug in timeline introduced by the previous check-in. Improvements to the file timeline.

Tags And Properties
Changes
[hide diffs]

Changes to src/finfo.c

@@ -166,11 +166,12 @@
       @   <div class="divider"><nobr>%s(zPrevDate)</nobr></div>
       @ </td></tr>
     }
     memcpy(zTime, &zDate[11], 5);
     zTime[5] = 0;
-    @ <tr><td valign="top" align="right">%s(zTime)</td>
+    @ <tr><td valign="top" align="right">
+    @ <a href="%s(g.zTop)/timeline?c=%t(zDate)">%s(zTime)</a></td>
     @ <td width="20" align="left" valign="top"><div id="m%d(gidx)"></div></td>
     if( zBgClr && zBgClr[0] ){
       @ <td valign="top" align="left" bgcolor="%h(zBgClr)">
     }else{
       @ <td valign="top" align="left">
@@ -182,13 +183,13 @@
     }else{
       @ [%s(zShort)]
     }
     @ part of check-in
     hyperlink_to_uuid(zShortCkin);
-    @ %h(zCom) (By:
-    hyperlink_to_user(zUser, zDate, " on");
-    hyperlink_to_date(zDate, ")");
+    @ %h(zCom) (user:
+    hyperlink_to_user(zUser, zDate, "");
+    @ branch: %h(zBr))
     if( g.okHistory ){
       if( fpid ){
         @ <a href="%s(g.zBaseURL)/fdiff?v1=%d(fpid)&amp;v2=%d(frid)">[diff]</a>
       }
       @ <a href="%s(g.zBaseURL)/annotate?mid=%d(mid)&amp;fnid=%d(fnid)">

Changes to src/timeline.c

@@ -253,11 +253,11 @@
     memcpy(zTime, &zDate[11], 5);
     zTime[5] = 0;
     @ <tr>
     @ <td valign="top" align="right">%s(zTime)</td>
     @ <td width="20" align="left" valign="top">
-    if( pGraph ){
+    if( pGraph && zType[0]=='c' ){
       int nParent = 0;
       int aParent[32];
       const char *zBr;
       int gidx;
       static Stmt qparent;