2021-05-24 10:25:17 +02:00
|
|
|
<!--
|
|
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
-->
|
|
|
|
<script lang="ts">
|
|
|
|
import * as tr from "lib/i18n";
|
|
|
|
import CheckBox from "./CheckBox.svelte";
|
|
|
|
import type { DeckOptionsState } from "./lib";
|
|
|
|
|
|
|
|
export let state: DeckOptionsState;
|
|
|
|
let config = state.currentConfig;
|
|
|
|
let defaults = state.defaults;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<h2>{tr.deckConfigBuryTitle()}</h2>
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
label={tr.deckConfigBuryNewSiblings()}
|
|
|
|
tooltip={tr.deckConfigBuryTooltip()}
|
|
|
|
defaultValue={defaults.buryNew}
|
2021-05-26 01:21:33 +02:00
|
|
|
bind:value={$config.buryNew}
|
|
|
|
/>
|
2021-05-24 10:25:17 +02:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
label={tr.deckConfigBuryReviewSiblings()}
|
|
|
|
tooltip={tr.deckConfigBuryTooltip()}
|
|
|
|
defaultValue={defaults.buryReviews}
|
2021-05-26 01:21:33 +02:00
|
|
|
bind:value={$config.buryReviews}
|
|
|
|
/>
|