mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51: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="column is-one-third">
|
||||
<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">
|
||||
<ul>
|
||||
{% for book in suggested_books %}
|
||||
|
@ -26,9 +29,13 @@
|
|||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<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 %}
|
||||
<div class="block">
|
||||
{% include 'snippets/status.html' with status=activity %}
|
||||
|
|
Loading…
Reference in a new issue