Fixes and remove shelf kobo sync flag when kobo sync disabled

This commit is contained in:
alfred82santa
2021-02-07 00:19:24 +01:00
parent 8fe762709b
commit 69b7d94774
3 changed files with 14 additions and 8 deletions
+6 -3
View File
@@ -13,10 +13,13 @@
<input type="checkbox" name="is_public" {% if shelf.is_public == 1 %}checked{% endif %}> {{_('Share with Everyone')}}
</label>
</div>
{% endif %}
{% if kobo_sync_enabled %}
<div class="checkbox">
<label>
<input type="checkbox" name="kobo_sync" {% if shelf.kobo_sync == 1 %}checked{% endif %}> {{_('Synchronize with Kobo device')}}
</label>
<label>
<input type="checkbox" name="kobo_sync"
{% if shelf.kobo_sync == 1 %}checked{% endif %}> {{ _('Synchronize with Kobo device') }}
</label>
</div>
{% endif %}
<button type="submit" class="btn btn-default" id="submit">{{_('Save')}}</button>