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:
bodybybuddha
2018-10-01 14:19:29 -04:00
parent 5a2ed58d06
commit 5d34fd7fec
3 changed files with 65 additions and 3 deletions
+1 -1
View File
@@ -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 %}