Fossil SCM

Added user flag (if available) to the byyear report's year list links.

stephan 2013-07-17 09:34 UTC stats-report-weekly
Commit 38e386a653f0a04ddbbafcc245adda1ae470ac77
1 file changed +5 -1
+5 -1
--- src/timeline.c
+++ src/timeline.c
@@ -1960,11 +1960,15 @@
19601960
if( zUserName && *zUserName ){
19611961
cgi_printf("&u=%t", zUserName);
19621962
}
19631963
cgi_printf("' target='_new'>%s</a>",zTimeframe);
19641964
}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);
19661970
}
19671971
@ </td><td>%d(nCount)</td>
19681972
@ <td>
19691973
@ <div class='statistics-report-graph-line'
19701974
@ style='height:16px;width:%d(nSize)px;'>
19711975
--- 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

Keyboard Shortcuts

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