Fixes bad cache on content status reading buttons

This commit is contained in:
Mouse Reeve 2022-01-17 08:01:39 -08:00
parent e218b73272
commit b060cf47f2

View file

@ -3,7 +3,6 @@
{% load i18n %} {% load i18n %}
{% load static %} {% load static %}
{% load humanize %} {% load humanize %}
{% load cache %}
{% with status_type=status.status_type %} {% with status_type=status.status_type %}
<div <div
@ -16,7 +15,6 @@
<div class="columns is-gapless"> <div class="columns is-gapless">
{% if not hide_book %} {% if not hide_book %}
{% cache 259200 content_status_book status.id %}
{% with book=status.book|default:status.mention_books.first %} {% with book=status.book|default:status.mention_books.first %}
{% if book %} {% if book %}
<div class="column is-cover"> <div class="column is-cover">
@ -36,7 +34,6 @@
</div> </div>
{% endif %} {% endif %}
{% endwith %} {% endwith %}
{% endcache %}
{% endif %} {% endif %}
<article class="column ml-3-tablet my-3-mobile"> <article class="column ml-3-tablet my-3-mobile">