From 47204812193eb8e3efd891afb67dac419f03090e Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 1 Apr 2021 08:02:42 -0700 Subject: [PATCH] Fixes accessibility bugs --- bookwyrm/templates/get_started/books.html | 28 ++++------------------ bookwyrm/templates/get_started/layout.html | 4 ++-- 2 files changed, 6 insertions(+), 26 deletions(-) diff --git a/bookwyrm/templates/get_started/books.html b/bookwyrm/templates/get_started/books.html index eb10f4edd..110bced27 100644 --- a/bookwyrm/templates/get_started/books.html +++ b/bookwyrm/templates/get_started/books.html @@ -6,7 +6,7 @@

{% trans "What are you reading?" %}

- + {% if request.GET.query and not book_results %}

{% blocktrans %}Sorry, books were found. You can add books when you start using {{ site_name }}{% endblocktrans %}

{% endif %} @@ -21,7 +21,7 @@
-
+

{% trans "Suggested Books" %}

{% if book_results %} @@ -29,17 +29,7 @@

Search results

{% for book in book_results %} -
- {% include 'snippets/book_cover.html' with book=book %} -
- -
-
+ {% include 'get_started/book_preview.html' %} {% endfor %}
@@ -50,17 +40,7 @@

{% for book in popular_books %} -
- {% include 'snippets/book_cover.html' with book=book %} -
- -
-
+ {% include 'get_started/book_preview.html' %} {% endfor %}
diff --git a/bookwyrm/templates/get_started/layout.html b/bookwyrm/templates/get_started/layout.html index b6d373fdf..18da2fb36 100644 --- a/bookwyrm/templates/get_started/layout.html +++ b/bookwyrm/templates/get_started/layout.html @@ -5,11 +5,11 @@ {% block content %} {% with site_name=site.name %} -