forked from mirrors/bookwyrm
Collapse status content box for empty status (like goal)
this is janky... oh well
This commit is contained in:
parent
2a6c67c427
commit
7a153a9942
1 changed files with 2 additions and 0 deletions
|
@ -4,10 +4,12 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
{% if not status or status.status_type != 'GeneratedNote' or status.book or status.mention_books.exists or status.mention_users.exists %}
|
||||||
<section class="card-content">
|
<section class="card-content">
|
||||||
{% block card-content %}
|
{% block card-content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</section>
|
</section>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<footer class="card-footer has-background-white-bis">
|
<footer class="card-footer has-background-white-bis">
|
||||||
{% block card-footer %}
|
{% block card-footer %}
|
||||||
|
|
Loading…
Reference in a new issue