update templates for genre and other_title change
This commit is contained in:
parent
fa960a2c7a
commit
c679aae640
4 changed files with 17 additions and 5 deletions
|
@ -70,7 +70,10 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
<div>{% if item.genre %}
|
||||
{% trans '流派:' %}{{ item.genre }}
|
||||
{% trans '流派:' %}
|
||||
{% for genre in item.genre %}
|
||||
<span>{{ genre }}</span>{% if not forloop.last %} / {% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>{% if item.barcode %}
|
||||
|
@ -81,7 +84,10 @@
|
|||
</div>
|
||||
<div class="entity-detail__fields">
|
||||
<div>{% if item.other_title %}
|
||||
{% trans '又名:' %}{{ item.other_title }}
|
||||
{% trans '又名:' %}
|
||||
{% for t in item.other_title %}
|
||||
<span>{{ t }}</span>{% if not forloop.last %} / {% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>{% if item.album_type %}
|
||||
|
|
|
@ -139,7 +139,9 @@
|
|||
{% endfor %}
|
||||
{% endif %}</div>
|
||||
<div>{% if item.other_title %}{% trans '又名:' %}
|
||||
{{ item.other_title }}
|
||||
{% for t in item.other_title %}
|
||||
<span>{{ t }}</span>{% if not forloop.last %} / {% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}</div>
|
||||
<div>{% if item.site %}{% trans '网站:' %}
|
||||
<a href="{{ item.site }}" target="_blank" rel="noopener">{{ item.site|strip_scheme }}</a>
|
||||
|
|
|
@ -153,7 +153,9 @@
|
|||
{% endfor %}
|
||||
{% endif %}</div>
|
||||
<div>{% if item.other_title %}{% trans '又名:' %}
|
||||
{{ item.other_title }}
|
||||
{% for t in item.other_title %}
|
||||
<span>{{ t }}</span>{% if not forloop.last %} / {% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}</div>
|
||||
<div>{% if item.site %}{% trans '网站:' %}
|
||||
<a href="{{ item.site }}" target="_blank" rel="noopener">{{ item.site|strip_scheme }}</a>
|
||||
|
|
|
@ -151,7 +151,9 @@
|
|||
{% endfor %}
|
||||
{% endif %}</div>
|
||||
<div>{% if item.other_title %}{% trans '又名:' %}
|
||||
{{ item.other_title }}
|
||||
{% for t in item.other_title %}
|
||||
<span>{{ t }}</span>{% if not forloop.last %} / {% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}</div>
|
||||
<div>{% if item.site %}{% trans '网站:' %}
|
||||
<a href="{{ item.site }}" target="_blank" rel="noopener">{{ item.site|strip_scheme }}</a>
|
||||
|
|
Loading…
Add table
Reference in a new issue