Fossil SCM
Use a target= field on the hyperlink of the annotation web page.
Commit
0e477a48e597826c978a7f029f8f00e6eff57d28
Parent
824083c36a1052b…
1 file changed
+4
-2
+4
-2
| --- src/diff.c | ||
| +++ src/diff.c | ||
| @@ -775,12 +775,14 @@ | ||
| 775 | 775 | int pid = db_column_int(&q, 0); |
| 776 | 776 | const char *zUuid = db_column_text(&q, 1); |
| 777 | 777 | const char *zDate = db_column_text(&q, 2); |
| 778 | 778 | const char *zUser = db_column_text(&q, 3); |
| 779 | 779 | if( webLabel ){ |
| 780 | - zLabel = mprintf("<a href='%s/info/%s'>%.10s</a> %s %9.9s", | |
| 781 | - g.zTop, zUuid, zUuid, zDate, zUser); | |
| 780 | + zLabel = mprintf( | |
| 781 | + "<a href='%s/info/%s' target='infowindow'>%.10s</a> %s %9.9s", | |
| 782 | + g.zTop, zUuid, zUuid, zDate, zUser | |
| 783 | + ); | |
| 782 | 784 | }else{ |
| 783 | 785 | zLabel = mprintf("%.10s %s %9.9s", zUuid, zDate, zUser); |
| 784 | 786 | } |
| 785 | 787 | content_get(pid, &step); |
| 786 | 788 | annotation_step(p, &step, zLabel); |
| 787 | 789 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -775,12 +775,14 @@ | |
| 775 | int pid = db_column_int(&q, 0); |
| 776 | const char *zUuid = db_column_text(&q, 1); |
| 777 | const char *zDate = db_column_text(&q, 2); |
| 778 | const char *zUser = db_column_text(&q, 3); |
| 779 | if( webLabel ){ |
| 780 | zLabel = mprintf("<a href='%s/info/%s'>%.10s</a> %s %9.9s", |
| 781 | g.zTop, zUuid, zUuid, zDate, zUser); |
| 782 | }else{ |
| 783 | zLabel = mprintf("%.10s %s %9.9s", zUuid, zDate, zUser); |
| 784 | } |
| 785 | content_get(pid, &step); |
| 786 | annotation_step(p, &step, zLabel); |
| 787 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -775,12 +775,14 @@ | |
| 775 | int pid = db_column_int(&q, 0); |
| 776 | const char *zUuid = db_column_text(&q, 1); |
| 777 | const char *zDate = db_column_text(&q, 2); |
| 778 | const char *zUser = db_column_text(&q, 3); |
| 779 | if( webLabel ){ |
| 780 | zLabel = mprintf( |
| 781 | "<a href='%s/info/%s' target='infowindow'>%.10s</a> %s %9.9s", |
| 782 | g.zTop, zUuid, zUuid, zDate, zUser |
| 783 | ); |
| 784 | }else{ |
| 785 | zLabel = mprintf("%.10s %s %9.9s", zUuid, zDate, zUser); |
| 786 | } |
| 787 | content_get(pid, &step); |
| 788 | annotation_step(p, &step, zLabel); |
| 789 |