From 6f531beb1cdf3d2e8a1a3b83ebdc9ca8418992e0 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 11 Sep 2021 14:32:10 -0700 Subject: [PATCH] Don't just write "none" when the info is absent --- bookwyrm/templates/settings/federation.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bookwyrm/templates/settings/federation.html b/bookwyrm/templates/settings/federation.html index 16fe1686..dc07063e 100644 --- a/bookwyrm/templates/settings/federation.html +++ b/bookwyrm/templates/settings/federation.html @@ -33,7 +33,12 @@ {{ server.server_name }} {{ server.created_date }} - {{ server.application_type }} ({{ server.application_version }}) + + {% if server.application_type %} + {{ server.application_type }} + {% if server.application_version %}({{ server.application_version }}){% endif %} + {% endif %} + {{ server.get_status_display }} {% endfor %}