Fossil SCM
Suppress the "Related" checkbox on the submenu of /timelien when the basic query parameter is enabled.
Commit
a46b9e772c1be88fc1bc64825ae172adb3b73ad35dd6aeac16b33930c28486bf
Parent
a339c94fd35bdca…
1 file changed
+1
-1
+1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1732,11 +1732,11 @@ | ||
| 1732 | 1732 | /* For exact maching, inhibit links to the selected tag. */ |
| 1733 | 1733 | zThisTag = zTagName; |
| 1734 | 1734 | } |
| 1735 | 1735 | |
| 1736 | 1736 | /* 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); | |
| 1738 | 1738 | |
| 1739 | 1739 | /* Construct the tag match expression. */ |
| 1740 | 1740 | zTagSql = tagMatchExpression(matchStyle, zTagName, &zMatchDesc, &zError); |
| 1741 | 1741 | } |
| 1742 | 1742 | |
| 1743 | 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 | 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 |