Skip to content

Commit

Permalink
[Fairground] Hide config fields if scrollable small container (#1682)
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges-GNM authored Oct 8, 2024
1 parent 74476f6 commit 7eb334d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions public/src/js/widgets/columns/fronts-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,11 @@
<input type="text" data-bind="
value: meta.href"/>

<!-- ko if: meta.type() !== 'scrollable/small' -->
<label>Description</label>
<input type="text" data-bind="
value: meta.description"/>
<!-- /ko -->
<config-collection-backfill params="backfill: meta.backfill"></config-collection-backfill>
Expand Down Expand Up @@ -260,17 +262,23 @@
<label for="hideKickers" >Suppress tone kickers</label>
<input id="hideKickers" type="checkbox" data-bind="checked: meta.hideKickers" />
<!-- ko if: meta.type() !== 'scrollable/small' -->
<label for="showDateHeader">Show date in header</label>
<input id="showDateHeader" type="checkbox" data-bind="checked: meta.showDateHeader" />
<!-- /ko -->
<!-- ko if: meta.type() !== 'scrollable/small' -->
<label for="showLatestUpdate">Show latest update in header</label>
<input id="showLatestUpdate" type="checkbox" data-bind="checked: meta.showLatestUpdate" />
<!-- /ko -->
<label for="excludeFromRss">Exclude from RSS</label>
<input id="excludeFromRss" type="checkbox" data-bind="checked: meta.excludeFromRss" />
<!-- ko if: meta.type() !== 'scrollable/small' -->
<label for="hideShowMore">Hide show more</label>
<input id="hideShowMore" type="checkbox" data-bind="checked: meta.hideShowMore" />
<!-- /ko -->
<label>No curation</label>
<input type="checkbox" data-bind="
Expand Down

0 comments on commit 7eb334d

Please sign in to comment.