add mark and review statistics delete page

This commit is contained in:
doubaniux 2020-11-22 14:32:07 +01:00
parent 093d8106c4
commit 2fe5feee54
2 changed files with 16 additions and 0 deletions

View file

@ -57,6 +57,14 @@
{% endif %}
<div>{% trans '上次编辑时间:' %}{{ book.edited_time }}</div>
{% if book.book_marks.all %}
<div><strong>{% trans '这个条目有' %} <a href="javascript:void();">{{ book.book_marks.count }}</a> 个标记</strong></div>
{% endif %}
{% if book.book_reviews.all %}
<div><strong>{% trans '这个条目有' %} <a href="javascript:void();">{{ book.book_reviews.count }}</a> 个评论</strong></div>
{% endif %}
</div>
</div>
<div class="dividing-line"></div>

View file

@ -66,6 +66,14 @@
{% endif %}
<div>{% trans '上次编辑时间:' %}{{ movie.edited_time }}</div>
{% if movie.movie_marks.all %}
<div><strong>{% trans '这个条目有' %} <a href="javascript:void();">{{ movie.movie_marks.count }}</a> 个标记</strong></div>
{% endif %}
{% if movie.movie_reviews.all %}
<div><strong>{% trans '这个条目有' %} <a href="javascript:void();">{{ movie.movie_reviews.count }}</a> 个评论</strong></div>
{% endif %}
</div>
</div>
<div class="dividing-line"></div>