Fix for read/unread for anonymous users

This commit is contained in:
Jack Darlington
2017-03-02 23:56:07 +00:00
parent fb6a37eec3
commit b6da3c3153
2 changed files with 7 additions and 2 deletions
+2
View File
@@ -107,6 +107,7 @@
</div>
</p>
{% endif %}
{% if not g.user.is_anonymous() %}
<p>
<div class="custom_columns" id="have_read">
Read
@@ -119,6 +120,7 @@
</form>
</div>
</p>
{% endif %}
{% if entry.comments|length > 0 and entry.comments[0].text|length > 0%}