From 58c07d16779d3d1f7a5f8c43518c41efad6e891b Mon Sep 17 00:00:00 2001 From: Joachim Date: Mon, 24 May 2021 12:36:48 +0200 Subject: [PATCH] Apply review suggestions --- bookwyrm/templates/author/author.html | 29 +++++++++++++-------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/bookwyrm/templates/author/author.html b/bookwyrm/templates/author/author.html index 496012a82..de7d230f9 100644 --- a/bookwyrm/templates/author/author.html +++ b/bookwyrm/templates/author/author.html @@ -22,7 +22,7 @@ -
+
{% if author.aliases or author.born or author.died or author.wikipedia_link or author.openlibrary_key or author.inventaire_id %} @@ -32,11 +32,11 @@ {% if author.aliases %}
{% trans "Aliases:" %}
-
- {% for alias in author.aliases %} - {{alias}}{% if not forloop.last %},{% endif %} - {% endfor %} -
+ {% for alias in author.aliases %} +
+ {{alias}}{% if not forloop.last %},{% endif %} +
+ {% endfor %}
{% endif %} {% if author.born %} @@ -54,25 +54,24 @@ {% if author.wikipedia_link %} -

- - +

+ {% trans "Wikipedia" %}

{% endif %} + {% if author.openlibrary_key %} -

- - +

+ {% trans "View on OpenLibrary" %}

{% endif %} + {% if author.inventaire_id %} -

- - +

+ {% trans "View on Inventaire" %}