diff options
author | StefanVukovic99 <stefanvukovic44@gmail.com> | 2024-04-22 21:58:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-22 19:58:32 +0000 |
commit | c6d93a965a5536979221fda856903356c10c1603 (patch) | |
tree | 7511f7c3b432f00e704c62f8eaefc19c252b9dc4 /ext/settings.html | |
parent | 808ddef82a8eabc77ba20a0da89a392926550e76 (diff) |
add duplicate behavior dropdown (#853)
* duplicate behavior dropdown
* allow duplicate for existing users
* Update docs/anki-integration.md
Co-authored-by: James Maa <jmaa@berkeley.edu>
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* Update docs/anki-integration.md
Co-authored-by: James Maa <jmaa@berkeley.edu>
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* Update docs/anki-integration.md
Co-authored-by: James Maa <jmaa@berkeley.edu>
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* remove suggestion comment
---------
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
Co-authored-by: James Maa <jmaa@berkeley.edu>
Diffstat (limited to 'ext/settings.html')
-rw-r--r-- | ext/settings.html | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/ext/settings.html b/ext/settings.html index ae559f4a..3c94b95e 100644 --- a/ext/settings.html +++ b/ext/settings.html @@ -1619,7 +1619,6 @@ <div class="settings-item-inner"> <div class="settings-item-left"> <div class="settings-item-label">Check for card duplicates</div> - <div class="settings-item-description">When a card is detected as a duplicate, the add buttons will turn red and change appearance.</div> </div> <div class="settings-item-right"> <label class="toggle"><input type="checkbox" data-setting="anki.checkForDuplicates" @@ -1687,6 +1686,21 @@ </p> </div> </div> + <div class="settings-item"> + <div class="settings-item-inner settings-item-inner-wrappable"> + <div class="settings-item-left"> + <div class="settings-item-label"> + When a duplicate is detected + </div> + </div> + <div class="settings-item-right"> + <select data-setting="anki.duplicateBehavior"> + <option value="prevent">Prevent adding</option> + <option value="new">Allow adding</option> + </select> + </div> + </div> + </div> </div> </div> <div class="settings-item advanced-only"><div class="settings-item-inner settings-item-inner-wrappable"> |