diff --git a/catalog/templates/_item_card_metadata.html b/catalog/templates/_item_card_metadata.html index 28463e22..10c5f6d3 100644 --- a/catalog/templates/_item_card_metadata.html +++ b/catalog/templates/_item_card_metadata.html @@ -34,23 +34,25 @@
{% if item.rating %} - {{ item.rating | floatformat:1 }}分 + {{ item.rating | floatformat:1 }}分({{ item.rating_count }}人) {% else %} {% endif %} - {% include '_people.html' with people=item.author role='' max=2 %} - {% include '_people.html' with people=item.translator role='' max=2 %} - {% include '_people.html' with people=item.director role='' max=2 %} + {% include '_people.html' with people=item.author role='作者' max=2 %} + {% include '_people.html' with people=item.translator role='译者' max=2 %} + {% include '_people.html' with people=item.director role='导演' max=2 %} {% include '_people.html' with people=item.hosts role='' max=2 %} {% include '_people.html' with people=item.artist role='' max=2 %} {% include '_people.html' with people=item.developer role='' max=2 %} - {% if item.pub_house %}/ {{ item.pub_house }}{% endif %} + {% if item.pub_house %}{{ item.pub_house }}{% endif %} {% if item.pub_year %} - / {{ item.pub_year }}{% trans '年' %} - {% if item.pub_month %} - {{ item.pub_month }}{% trans '月' %} - {% endif %} + + {{ item.pub_year }}{% trans '年' %} + {% if item.pub_month %} + {{ item.pub_month }}{% trans '月' %} + {% endif %} + {% endif %} - {% if item.release_date %}/ {{ item.release_date }}{% endif %} + {% if item.release_date %}{{ item.release_date }}{% endif %} {% include '_people.html' with people=item.genre role='' max=10 %} {% include '_people.html' with people=item.platform role='' max=10 %}
diff --git a/catalog/templates/_people.html b/catalog/templates/_people.html index 8463a0c0..728585b6 100644 --- a/catalog/templates/_people.html +++ b/catalog/templates/_people.html @@ -1,11 +1,13 @@ {% if people %} - {% if role %}{{ role }}:{% endif %} - {% for p in people %} - {% if forloop.counter <= max %} - {% if not forloop.first %}、{% endif %} - {{ p }} - {% elif forloop.last %} - 等 - {% endif %} - {% endfor %} + + {% if role %}{{ role }}:{% endif %} + {% for p in people %} + {% if forloop.counter <= max %} + {% if not forloop.first %}、{% endif %} + {{ p }} + {% elif forloop.last %} + 等 + {% endif %} + {% endfor %} + {% endif %} diff --git a/catalog/templates/sidebar_item.html b/catalog/templates/sidebar_item.html index 60330f33..da1e1430 100644 --- a/catalog/templates/sidebar_item.html +++ b/catalog/templates/sidebar_item.html @@ -9,6 +9,6 @@
diff --git a/common/static/scss/_card.scss b/common/static/scss/_card.scss index 8929d285..3ade9487 100644 --- a/common/static/scss/_card.scss +++ b/common/static/scss/_card.scss @@ -33,6 +33,10 @@ div.item { -webkit-box-orient: vertical; overflow: hidden; font-size: 80%; + + >span { + margin-right: 1rem; + } } .brief { diff --git a/users/templates/users/data.html b/users/templates/users/data.html index 2e78d110..fd8d8a39 100644 --- a/users/templates/users/data.html +++ b/users/templates/users/data.html @@ -217,8 +217,13 @@ - + required + placeholder="Gargron@mastodon.social"> + {% if import_status.douban_pending %} + + {% else %} + + {% endif %}
删除将无法撤销