Fossil SCM

Add a "Basic" button to the submenu for /timeline pages that do not already have the "basic" query parameter.

drh 2017-11-25 02:15 trunk
Commit 227c8e57fadb4a2f80bed6dd0a995e63619a0a7fcad9995a3826916e94d03abc
1 file changed +2
--- src/timeline.c
+++ src/timeline.c
@@ -2240,10 +2240,12 @@
22402240
}
22412241
blob_zero(&cond);
22422242
}
22432243
if( bBasic ){
22442244
timeline_submenu(&url, "Advanced", "basic", 0, 0);
2245
+ }else{
2246
+ timeline_submenu(&url, "Basic", "basic", "1", 0);
22452247
}
22462248
if( PB("showsql") ){
22472249
@ <pre>%h(blob_sql_text(&sql))</pre>
22482250
}
22492251
if( search_restrict(SRCH_CKIN)!=0 ){
22502252
--- src/timeline.c
+++ src/timeline.c
@@ -2240,10 +2240,12 @@
2240 }
2241 blob_zero(&cond);
2242 }
2243 if( bBasic ){
2244 timeline_submenu(&url, "Advanced", "basic", 0, 0);
 
 
2245 }
2246 if( PB("showsql") ){
2247 @ <pre>%h(blob_sql_text(&sql))</pre>
2248 }
2249 if( search_restrict(SRCH_CKIN)!=0 ){
2250
--- src/timeline.c
+++ src/timeline.c
@@ -2240,10 +2240,12 @@
2240 }
2241 blob_zero(&cond);
2242 }
2243 if( bBasic ){
2244 timeline_submenu(&url, "Advanced", "basic", 0, 0);
2245 }else{
2246 timeline_submenu(&url, "Basic", "basic", "1", 0);
2247 }
2248 if( PB("showsql") ){
2249 @ <pre>%h(blob_sql_text(&sql))</pre>
2250 }
2251 if( search_restrict(SRCH_CKIN)!=0 ){
2252

Keyboard Shortcuts

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