Bugfixes for user import with default locale and default language

Bugfixes from testrun
This commit is contained in:
Ozzie Isaacs
2021-10-06 18:41:01 +02:00
parent ed26d34961
commit d8f9e2feb2
7 changed files with 1506 additions and 678 deletions

View File

@@ -62,6 +62,7 @@
{% if g.allow_upload %}
<li>
<form id="form-upload" class="navbar-form" action="{{ url_for('editbook.upload') }}" data-title="{{_('Uploading...')}}" data-footer="{{_('Close')}}" data-failed="{{_('Error')}}" data-message="{{_('Upload done, processing, please wait...')}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<div class="form-group">
<span class="btn btn-default btn-file">{{_('Upload')}}<input id="btn-upload" name="btn-upload"
type="file" accept="{% for format in accept %}.{% if format != ''%}{{format}}{% else %}*{% endif %}{{ ',' if not loop.last }}{% endfor %}" multiple></span>