Fossil SCM
Since the /info page is now reachable by double-clicking on the graph node, change the timestamp to be a link to the general /timeline page around that particular time.
Commit
036c854da3ae1ea51d04db05be1ff29de58320aa18dcec82348b059cada08b7d
Parent
8ee5e55e3c2baac…
1 file changed
+2
-6
+2
-6
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -399,17 +399,13 @@ | ||
| 399 | 399 | isSelectedOrCurrent = 1; |
| 400 | 400 | }else { |
| 401 | 401 | @ <tr> |
| 402 | 402 | } |
| 403 | 403 | if( zType[0]=='e' && tagid ){ |
| 404 | - char *zId; | |
| 405 | - zId = db_text(0, "SELECT substr(tagname, 7) FROM tag WHERE tagid=%d", | |
| 406 | - tagid); | |
| 407 | - zDateLink = href("%R/technote/%s",zId); | |
| 408 | - free(zId); | |
| 404 | + zDateLink = href("%R/timeline?c=%t",zDate); | |
| 409 | 405 | }else if( zUuid ){ |
| 410 | - zDateLink = chref("timelineHistLink", "%R/info/%!S", zUuid); | |
| 406 | + zDateLink = chref("timelineHistLink", "%R/timeline?c=%!S", zUuid); | |
| 411 | 407 | }else{ |
| 412 | 408 | zDateLink = mprintf("<a>"); |
| 413 | 409 | } |
| 414 | 410 | @ <td class="timelineTime">%z(zDateLink)%s(zTime)</a></td> |
| 415 | 411 | @ <td class="timelineGraph"> |
| 416 | 412 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -399,17 +399,13 @@ | |
| 399 | isSelectedOrCurrent = 1; |
| 400 | }else { |
| 401 | @ <tr> |
| 402 | } |
| 403 | if( zType[0]=='e' && tagid ){ |
| 404 | char *zId; |
| 405 | zId = db_text(0, "SELECT substr(tagname, 7) FROM tag WHERE tagid=%d", |
| 406 | tagid); |
| 407 | zDateLink = href("%R/technote/%s",zId); |
| 408 | free(zId); |
| 409 | }else if( zUuid ){ |
| 410 | zDateLink = chref("timelineHistLink", "%R/info/%!S", zUuid); |
| 411 | }else{ |
| 412 | zDateLink = mprintf("<a>"); |
| 413 | } |
| 414 | @ <td class="timelineTime">%z(zDateLink)%s(zTime)</a></td> |
| 415 | @ <td class="timelineGraph"> |
| 416 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -399,17 +399,13 @@ | |
| 399 | isSelectedOrCurrent = 1; |
| 400 | }else { |
| 401 | @ <tr> |
| 402 | } |
| 403 | if( zType[0]=='e' && tagid ){ |
| 404 | zDateLink = href("%R/timeline?c=%t",zDate); |
| 405 | }else if( zUuid ){ |
| 406 | zDateLink = chref("timelineHistLink", "%R/timeline?c=%!S", zUuid); |
| 407 | }else{ |
| 408 | zDateLink = mprintf("<a>"); |
| 409 | } |
| 410 | @ <td class="timelineTime">%z(zDateLink)%s(zTime)</a></td> |
| 411 | @ <td class="timelineGraph"> |
| 412 |