moviewyrm/bookwyrm/templates/components/card.html

22 lines
575 B
HTML
Raw Normal View History

2021-01-16 22:04:09 +00:00
<article class="card">
<header class="card-header">
{% block card-header %}
{% endblock %}
</header>
{% if not status or status.status_type != 'GeneratedNote' or status.book or status.mention_books.exists or status.mention_users.exists %}
2021-01-16 22:04:09 +00:00
<section class="card-content">
{% block card-content %}
{% endblock %}
</section>
{% endif %}
2021-01-16 22:04:09 +00:00
<footer class="card-footer has-background-tertiary">
2021-01-16 22:04:09 +00:00
{% block card-footer %}
{% endblock %}
</footer>
{% block card-bonus %}
{% endblock %}
</article>