<div class="tags">
{% spaceless %}
- <span class="mono">{% trans "Epoch" %}: </span>
- <span class="book-box-tag">
+ <span class="mono">{% trans "Epoch" %}:</span> <span class="book-box-tag">
{% for tag in tags.epoch %}
<a href="{{ tag.get_absolute_url }}">{{ tag.name }} </a>
{% endfor %}
</span>
- <span class="mono">{% trans "Kind" %}: </span>
- <span class="book-box-tag">
+ <span class="mono">{% trans "Kind" %}:</span> <span class="book-box-tag">
{% for tag in tags.kind %}
<a href="{{ tag.get_absolute_url }}">{{ tag.name }} </a>
{% endfor %}
</span>
- <span class="mono">{% trans "Genre" %}: </span>
- <span class="book-box-tag">
+ <span class="mono">{% trans "Genre" %}:</span> <span class="book-box-tag">
{% for tag in tags.genre %}
<a href="{{ tag.get_absolute_url }}">{{ tag.name }} </a>
{% endfor %}
<ul class="book-box-tools">
<li class="book-box-read">
{% if book.html_file %}
- <a href="" class="mono">{% trans "Read online" %}</a>
+ <a href="{% url book_text book.urlid %}" class="mono">{% trans "Read online" %}</a>
{% endif %}
</li>
<li class="book-box-download">
</li>
<li class="book-box-audiobook">
{% if book.has_mp3_file %}
- <a href="" class="mono">{% trans "Audiobook" %}</a>
+ <a href="{% url book_player book.slug %}" class="open-player mono">{% trans "Listen" %}</a>
{% endif %}
</li>
</ul>