
* new style with picocss * djlint * rate distribution * collection item drag to order * discover available for guest * search combine movie tv
27 lines
823 B
HTML
27 lines
823 B
HTML
{% load static %}
|
|
{% load i18n %}
|
|
{% load truncate %}
|
|
{% load thumb %}
|
|
<article class="item">
|
|
<div>
|
|
<a href="{% url 'catalog:retrieve' item.url_path item.uuid %}">
|
|
<img src="{{ item.cover|thumb:'normal' }}" alt="" class="entity-card__img">
|
|
</a>
|
|
</div>
|
|
<footer>
|
|
<h4>
|
|
<a href="{% url 'catalog:retrieve' item.url_path item.uuid %}">{{ item.title }}</a>
|
|
{% for res in item.external_resources.all %}
|
|
<a href="{{ res.url }}">
|
|
<span class="source-label source-label__{{ res.site_name }}">{{ res.site_name.label }}</span>
|
|
</a>
|
|
{% endfor %}
|
|
</h4>
|
|
{% if item.isbn %}<div>ISBN: {{ item.isbn }}</div>{% endif %}
|
|
<div>
|
|
{% if item.pub_house %}
|
|
{% trans '出版社:' %}{{ item.pub_house }}
|
|
{% endif %}
|
|
</div>
|
|
</footer>
|
|
</article>
|