Fossil SCM

Suppress the "Related" checkbox on the submenu of /timelien when the basic query parameter is enabled.

drh 2017-11-25 01:55 trunk
Commit a46b9e772c1be88fc1bc64825ae172adb3b73ad35dd6aeac16b33930c28486bf
1 file changed +1 -1
+1 -1
--- src/timeline.c
+++ src/timeline.c
@@ -1732,11 +1732,11 @@
17321732
/* For exact maching, inhibit links to the selected tag. */
17331733
zThisTag = zTagName;
17341734
}
17351735
17361736
/* Display a checkbox to enable/disable display of related check-ins. */
1737
- style_submenu_checkbox("rel", "Related", 0, 0);
1737
+ if( !bBasic ) style_submenu_checkbox("rel", "Related", 0, 0);
17381738
17391739
/* Construct the tag match expression. */
17401740
zTagSql = tagMatchExpression(matchStyle, zTagName, &zMatchDesc, &zError);
17411741
}
17421742
17431743
--- src/timeline.c
+++ src/timeline.c
@@ -1732,11 +1732,11 @@
1732 /* For exact maching, inhibit links to the selected tag. */
1733 zThisTag = zTagName;
1734 }
1735
1736 /* Display a checkbox to enable/disable display of related check-ins. */
1737 style_submenu_checkbox("rel", "Related", 0, 0);
1738
1739 /* Construct the tag match expression. */
1740 zTagSql = tagMatchExpression(matchStyle, zTagName, &zMatchDesc, &zError);
1741 }
1742
1743
--- src/timeline.c
+++ src/timeline.c
@@ -1732,11 +1732,11 @@
1732 /* For exact maching, inhibit links to the selected tag. */
1733 zThisTag = zTagName;
1734 }
1735
1736 /* Display a checkbox to enable/disable display of related check-ins. */
1737 if( !bBasic ) style_submenu_checkbox("rel", "Related", 0, 0);
1738
1739 /* Construct the tag match expression. */
1740 zTagSql = tagMatchExpression(matchStyle, zTagName, &zMatchDesc, &zError);
1741 }
1742
1743

Keyboard Shortcuts

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