<a href="{% url 'documents_book_txt' book.slug %}" rel="nofollow">{% trans "TXT version" %}</a><br/>
<a href="{% url 'documents_book_pdf' book.slug %}" rel="nofollow">{% trans "PDF version" %}</a><br/>
<a href="{% url 'documents_book_pdf_mobile' book.slug %}" rel="nofollow">{% trans "PDF version for mobiles" %}</a><br/>
<a href="{% url 'documents_book_txt' book.slug %}" rel="nofollow">{% trans "TXT version" %}</a><br/>
<a href="{% url 'documents_book_pdf' book.slug %}" rel="nofollow">{% trans "PDF version" %}</a><br/>
<a href="{% url 'documents_book_pdf_mobile' book.slug %}" rel="nofollow">{% trans "PDF version for mobiles" %}</a><br/>
- {% if perms.depot.add_shopbookpublish %}
- {% depot_shops book as shops %}
- {% for shop in shops %}
+ {% if perms.depot.add_sitebookpublish %}
+ {% depot_sites book as sites %}
+ {% for site in sites %}
- <h3 class="mb-3">{{ shop.name }}</h3>
- {% if not shop.errors %}
- <form method="post" action="{% url 'depot_shop_publish' shop.shop_id book.pk %}">
+ <h3 class="mb-3">{{ site.name }}</h3>
+ {% if not site.errors %}
+ <form method="post" action="{% url 'depot_site_publish' site.site_id book.pk %}">