forked from mirrors/bookwyrm
Adds prompt to import books in null state of suggested books
This commit is contained in:
parent
a29db4840c
commit
3f7afc9014
1 changed files with 13 additions and 1 deletions
|
@ -5,7 +5,19 @@
|
||||||
<section class="block">
|
<section class="block">
|
||||||
<h2 class="title is-4">{% trans "Your Books" %}</h2>
|
<h2 class="title is-4">{% trans "Your Books" %}</h2>
|
||||||
{% if not suggested_books %}
|
{% if not suggested_books %}
|
||||||
<p>{% trans "There are no books here right now! Try searching for a book to get started" %}</p>
|
|
||||||
|
<div class="content">
|
||||||
|
<p>{% trans "There are no books here right now! Try searching for a book to get started" %}</p>
|
||||||
|
|
||||||
|
<div class="box has-background-link-light">
|
||||||
|
<p>{% trans "Do you have book data from another service like GoodReads?" %}</p>
|
||||||
|
<a href="{% url 'import' %}">
|
||||||
|
<span class="icon icon-list" aria-hidden="true"></span>
|
||||||
|
{% trans "Import your reading history" %}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{% with active_book=request.GET.book %}
|
{% with active_book=request.GET.book %}
|
||||||
<div class="tab-group">
|
<div class="tab-group">
|
||||||
|
|
Loading…
Reference in a new issue