moviewyrm/bookwyrm/templates/snippets/components/card.html

22 lines
576 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-white-bis">
{% block card-footer %}
{% endblock %}
</footer>
{% block card-bonus %}
{% endblock %}
</article>