Fossil SCM
Added user flag (if available) to the byyear report's year list links.
Commit
38e386a653f0a04ddbbafcc245adda1ae470ac77
Parent
4f5980385bfc8ad…
1 file changed
+5
-1
+5
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1960,11 +1960,15 @@ | ||
| 1960 | 1960 | if( zUserName && *zUserName ){ |
| 1961 | 1961 | cgi_printf("&u=%t", zUserName); |
| 1962 | 1962 | } |
| 1963 | 1963 | cgi_printf("' target='_new'>%s</a>",zTimeframe); |
| 1964 | 1964 | }else { |
| 1965 | - @ <a href='?view=byweek&y=%s(zTimeframe)'>%s(zTimeframe)</a> | |
| 1965 | + cgi_printf("<a href='?view=byweek&y=%s", zTimeframe); | |
| 1966 | + if(zUserName && *zUserName){ | |
| 1967 | + cgi_printf("&u=%t", zUserName); | |
| 1968 | + } | |
| 1969 | + cgi_printf("'>%s</a>", zTimeframe); | |
| 1966 | 1970 | } |
| 1967 | 1971 | @ </td><td>%d(nCount)</td> |
| 1968 | 1972 | @ <td> |
| 1969 | 1973 | @ <div class='statistics-report-graph-line' |
| 1970 | 1974 | @ style='height:16px;width:%d(nSize)px;'> |
| 1971 | 1975 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1960,11 +1960,15 @@ | |
| 1960 | if( zUserName && *zUserName ){ |
| 1961 | cgi_printf("&u=%t", zUserName); |
| 1962 | } |
| 1963 | cgi_printf("' target='_new'>%s</a>",zTimeframe); |
| 1964 | }else { |
| 1965 | @ <a href='?view=byweek&y=%s(zTimeframe)'>%s(zTimeframe)</a> |
| 1966 | } |
| 1967 | @ </td><td>%d(nCount)</td> |
| 1968 | @ <td> |
| 1969 | @ <div class='statistics-report-graph-line' |
| 1970 | @ style='height:16px;width:%d(nSize)px;'> |
| 1971 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1960,11 +1960,15 @@ | |
| 1960 | if( zUserName && *zUserName ){ |
| 1961 | cgi_printf("&u=%t", zUserName); |
| 1962 | } |
| 1963 | cgi_printf("' target='_new'>%s</a>",zTimeframe); |
| 1964 | }else { |
| 1965 | cgi_printf("<a href='?view=byweek&y=%s", zTimeframe); |
| 1966 | if(zUserName && *zUserName){ |
| 1967 | cgi_printf("&u=%t", zUserName); |
| 1968 | } |
| 1969 | cgi_printf("'>%s</a>", zTimeframe); |
| 1970 | } |
| 1971 | @ </td><td>%d(nCount)</td> |
| 1972 | @ <td> |
| 1973 | @ <div class='statistics-report-graph-line' |
| 1974 | @ style='height:16px;width:%d(nSize)px;'> |
| 1975 |