Skip to content

Commit

Permalink
Add option to disable auto-conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
subtlepseudonym committed Mar 15, 2024
1 parent 2c37730 commit 84fe4f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cps/templates/config_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ <h4 class="panel-title">
<div class="form-group">
<label for="config_auto_convert_to_format">{{_('Automatically convert ebooks to format (leave blank to disable)')}}</label>
<select name="config_auto_convert_to_format" id="config_auto_convert_to_format" class="form-control">
<option value="" >Disable</option>
{% for format in config.config_upload_formats.split(",") %}
<option value="{{ format }}"{% if config.config_auto_convert_to_format.lower() == format.lower() %} selected{% endif %}>{{ format }}</option>
{% endfor %}
Expand Down

0 comments on commit 84fe4f2

Please sign in to comment.