mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-30 13:31:08 +00:00
Merge pull request #218 from mouse-reeve/null-states
Basic null states (still needs expanding)
This commit is contained in:
commit
c41a762442
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div class="column is-one-third">
|
<div class="column is-one-third">
|
||||||
<h2 class="title is-4">Suggested books</h2>
|
<h2 class="title is-4">Suggested books</h2>
|
||||||
|
{% if not suggested_books %}
|
||||||
|
<p>There are no books here right now! Try searching for a book to get started</p>
|
||||||
|
{% else %}
|
||||||
<div class="tabs is-small is-toggle">
|
<div class="tabs is-small is-toggle">
|
||||||
<ul>
|
<ul>
|
||||||
{% for book in suggested_books %}
|
{% for book in suggested_books %}
|
||||||
|
@ -26,9 +29,13 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="column is-two-thirds" id="feed">
|
<div class="column is-two-thirds" id="feed">
|
||||||
|
{% if not activities %}
|
||||||
|
<p>There aren't any activities right now! Try following a user to get started</p>
|
||||||
|
{% endif %}
|
||||||
{% for activity in activities %}
|
{% for activity in activities %}
|
||||||
<div class="block">
|
<div class="block">
|
||||||
{% include 'snippets/status.html' with status=activity %}
|
{% include 'snippets/status.html' with status=activity %}
|
||||||
|
|
Loading…
Reference in a new issue