Fixes bad cache on status shelve buttons
This commit is contained in:
parent
8fc23ba184
commit
3c2aa72424
|
@ -6,7 +6,6 @@
|
||||||
{% load cache %}
|
{% load cache %}
|
||||||
|
|
||||||
{% if not hide_book %}
|
{% if not hide_book %}
|
||||||
{% cache 259200 generated_status_book status.id %}
|
|
||||||
{% with book=status.book|default:status.mention_books.first %}
|
{% with book=status.book|default:status.mention_books.first %}
|
||||||
<div class="columns is-mobile is-gapless">
|
<div class="columns is-mobile is-gapless">
|
||||||
<a class="column is-cover is-narrow" href="{{ book.local_path }}">
|
<a class="column is-cover is-narrow" href="{{ book.local_path }}">
|
||||||
|
@ -26,7 +25,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endcache %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endspaceless %}
|
{% endspaceless %}
|
||||||
|
|
Loading…
Reference in New Issue