Send to Kindle button precheck added
Based on existing book formats and which converter (if any) determine if button can be seen.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if g.user.kindle_mail and g.user.is_authenticated %}
|
||||
{% if g.user.kindle_mail and g.user.is_authenticated and flg_kindle%}
|
||||
<a href="{{url_for('send_to_kindle', book_id=entry.id)}}" id="sendbtn" class="btn btn-primary" role="button"><span class="glyphicon glyphicon-send"></span> {{_('Send to Kindle')}}</a>
|
||||
{% endif %}
|
||||
{% if entry.data|length %}
|
||||
|
||||
Reference in New Issue
Block a user