{% extends "advbase.html" %} {% block advcontent -%}

{{ _("Deliver now") }}

{{ _("Deliver selected books now.") }}

{% if (booksnum == 0 and not books) or (booksnum == 1 and books[0].builtin == False and books[0].feeds.count() == 0) %}
{{ _("Do not have any subscribed book.") }}
{% endif %} {% if booksnum == 1 and books[0].builtin == False -%} {% for item in books[0].feeds %} {% endfor %} {% if books[0].feeds.count() > 0 %} {% endif %} {%- elif booksnum > 0 -%} {% for item in books %} {% endfor %} {%- endif %}
{% if booksnum > 0 and ((books[0].builtin == True and books) or ((books[0].builtin == False and books[0].feeds.count() >= 1) or booksnum >= 2)) %}
{{ _('Deliver') }}
{% endif %}
{% endblock -%} {% block javascriptinhead %} {% endblock %}