[books] Add utility urls to model and scrobbles
This commit is contained in:
@ -26,11 +26,19 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p><a href="{{s.logdata.restart_url}}">Read again</a></p>
|
||||
{% if object.readcomics_url %}
|
||||
<p><a href="{{object.readcomics_url}}">Read next issue</a></p>
|
||||
{% endif %}
|
||||
{% if object.next_readcomics_url %}
|
||||
<p><a href="{{object.next_readcomics_url}}">Read next issue</a></p>
|
||||
{% endif %}
|
||||
|
||||
<p>{{scrobbles.count}} scrobbles</p>
|
||||
|
||||
{% for s in scrobbles %}
|
||||
{% if forloop.first %}
|
||||
<p><a href="{{s.logdata.restart_url}}">Re-read</a></p>
|
||||
<p><a href="{{s.logdata.resume_url}}">Resume</a></p>
|
||||
<p><a href="{{s.logdata.resume_url}}">Resume reading</a></p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user