mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Remove forgetting curve radio buttons when only one radio button (#3804)
This commit is contained in:
parent
acaeee91fa
commit
dda5973fdc
1 changed files with 26 additions and 28 deletions
|
@ -51,9 +51,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
</script>
|
||||
|
||||
<div class="forgetting-curve">
|
||||
{#if maxDays > 7}
|
||||
<InputBox>
|
||||
<div class="time-range-selector">
|
||||
{#if maxDays > 0}
|
||||
<label>
|
||||
<input
|
||||
type="radio"
|
||||
|
@ -62,8 +62,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
/>
|
||||
{tr.cardStatsFsrsForgettingCurveFirstWeek()}
|
||||
</label>
|
||||
{/if}
|
||||
{#if maxDays > 7}
|
||||
<label>
|
||||
<input
|
||||
type="radio"
|
||||
|
@ -72,7 +70,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
/>
|
||||
{tr.cardStatsFsrsForgettingCurveFirstMonth()}
|
||||
</label>
|
||||
{/if}
|
||||
{#if maxDays > 30}
|
||||
<label>
|
||||
<input
|
||||
|
@ -95,6 +92,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
{/if}
|
||||
</div>
|
||||
</InputBox>
|
||||
{/if}
|
||||
<Graph {title}>
|
||||
<svg bind:this={svg} viewBox={`0 0 ${bounds.width} ${bounds.height}`}>
|
||||
<AxisTicks {bounds} />
|
||||
|
|
Loading…
Reference in a new issue