Updated test status

Fix for #2614 (Send to eReader not working for guest user)
This commit is contained in:
Ozzie Isaacs
2023-01-24 18:07:21 +01:00
parent 36cb454d1c
commit 4913f06e0d
3 changed files with 546 additions and 894 deletions

View File

@@ -38,6 +38,7 @@
{% endif %}
{% endif %}
{% if g.user.kindle_mail and entry.email_share_list %}
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
{% if entry.email_share_list.__len__() == 1 %}
<div id="sendbtn" data-action="{{url_for('web.send_to_ereader', book_id=entry.id, book_format=entry.email_share_list[0]['format'], convert=entry.email_share_list[0]['convert'])}}" data-text="{{_('Send to eReader')}}" class="btn btn-primary postAction" role="button"><span class="glyphicon glyphicon-send"></span> {{entry.email_share_list[0]['text']}}</div>
{% else %}