From e4f94780ebdf79bb94617a843a8103b52cf3a47c Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 14 Mar 2022 09:06:29 -0700 Subject: [PATCH] Uses translated fields in admin user info --- bookwyrm/templates/settings/users/user_info.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bookwyrm/templates/settings/users/user_info.html b/bookwyrm/templates/settings/users/user_info.html index c60ae285..a5447931 100644 --- a/bookwyrm/templates/settings/users/user_info.html +++ b/bookwyrm/templates/settings/users/user_info.html @@ -71,14 +71,14 @@
{{ user.last_active_date }}
{% trans "Manually approved followers:" %}
-
{{ user.manually_approves_followers }}
+
{{ user.manually_approves_followers|yesno }}
{% trans "Discoverable:" %}
-
{{ user.discoverable }}
+
{{ user.discoverable|yesno }}
{% if not user.is_active %}
{% trans "Deactivation reason:" %}
-
{{ user.deactivation_reason }}
+
{{ user.get_deactivation_reason_display }}
{% endif %} {% if not user.is_active and user.deactivation_reason == "pending" %} @@ -104,7 +104,7 @@
{{ server.application_version }}
{% trans "Status:" %}
-
{{ server.status }}
+
{{ server.get_status_display }}
{% if server.notes %}
{% trans "Notes" %}