add mark and review statistics delete page
This commit is contained in:
parent
093d8106c4
commit
2fe5feee54
2 changed files with 16 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue