Fossil SCM

Show filter description even when "r" is used on a branch that has no wiki

andygoth 2019-11-23 20:55 andygoth-restore-related
Commit 2a5af7076bdb9d39a97bae9945e56df6d868e06fd4f97932ea6434d535ec134a
1 file changed +2
--- src/timeline.c
+++ src/timeline.c
@@ -2402,10 +2402,12 @@
24022402
if( zBrName ){
24032403
if( !PB("nowiki")
24042404
&& wiki_render_associated("branch", zBrName, WIKIASSOC_ALL)
24052405
){
24062406
@ <div class="section">%b(&desc)</div>
2407
+ } else{
2408
+ @ <h2>%b(&desc)</h2>
24072409
}
24082410
style_submenu_element("Diff", "%R/vdiff?branch=%T", zBrName);
24092411
}else
24102412
if( zTagName
24112413
&& matchStyle==MS_EXACT
24122414
--- src/timeline.c
+++ src/timeline.c
@@ -2402,10 +2402,12 @@
2402 if( zBrName ){
2403 if( !PB("nowiki")
2404 && wiki_render_associated("branch", zBrName, WIKIASSOC_ALL)
2405 ){
2406 @ <div class="section">%b(&desc)</div>
 
 
2407 }
2408 style_submenu_element("Diff", "%R/vdiff?branch=%T", zBrName);
2409 }else
2410 if( zTagName
2411 && matchStyle==MS_EXACT
2412
--- src/timeline.c
+++ src/timeline.c
@@ -2402,10 +2402,12 @@
2402 if( zBrName ){
2403 if( !PB("nowiki")
2404 && wiki_render_associated("branch", zBrName, WIKIASSOC_ALL)
2405 ){
2406 @ <div class="section">%b(&desc)</div>
2407 } else{
2408 @ <h2>%b(&desc)</h2>
2409 }
2410 style_submenu_element("Diff", "%R/vdiff?branch=%T", zBrName);
2411 }else
2412 if( zTagName
2413 && matchStyle==MS_EXACT
2414

Keyboard Shortcuts

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