parent
db9561db89
commit
0bcb20f674
|
@ -33,14 +33,14 @@
|
|||
<div class="text-left">
|
||||
<label class="control-label" for="book_format_from">{{_('Convert from:')}}</label>
|
||||
<select class="form-control" name="book_format_from" id="book_format_from">
|
||||
<option disabled selected value> -- select an option -- </option>
|
||||
<option disabled selected value> -- {{_('select an option')}} -- </option>
|
||||
{% for file in book.data %}
|
||||
<option>{{file.format}} </option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<label class="control-label" for="book_format_to">{{_('Convert to:')}}</label>
|
||||
<select class="form-control" name="book_format_to" id="book_format_to">
|
||||
<option disabled selected value> -- select an option -- </option>
|
||||
<option disabled selected value> -- {{_('select an option')}} -- </option>
|
||||
{% for format in conversion_formats %}
|
||||
<option>{{format|upper}} </option>
|
||||
{% endfor %}
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1780,6 +1780,10 @@ def search():
|
|||
term = request.args.get("query").strip().lower()
|
||||
if term:
|
||||
entries = get_search_results(term)
|
||||
ids = list()
|
||||
for element in entries:
|
||||
ids.append(element.id)
|
||||
ub.searched_ids[current_user.id] = ids
|
||||
return render_title_template('search.html', searchterm=term, entries=entries, page="search")
|
||||
else:
|
||||
return render_title_template('search.html', searchterm="", page="search")
|
||||
|
|
446
messages.pot
446
messages.pot
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user