mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 11:01:12 +00:00
Uses translated fields in admin user info
This commit is contained in:
parent
57cba4eb7a
commit
e4f94780eb
1 changed files with 4 additions and 4 deletions
|
@ -71,14 +71,14 @@
|
|||
<dd>{{ user.last_active_date }}</dd>
|
||||
|
||||
<dt class="is-pulled-left mr-5">{% trans "Manually approved followers:" %}</dt>
|
||||
<dd>{{ user.manually_approves_followers }}</dd>
|
||||
<dd>{{ user.manually_approves_followers|yesno }}</dd>
|
||||
|
||||
<dt class="is-pulled-left mr-5">{% trans "Discoverable:" %}</dt>
|
||||
<dd>{{ user.discoverable }}</dd>
|
||||
<dd>{{ user.discoverable|yesno }}</dd>
|
||||
|
||||
{% if not user.is_active %}
|
||||
<dt class="is-pulled-left mr-5">{% trans "Deactivation reason:" %}</dt>
|
||||
<dd>{{ user.deactivation_reason }}</dd>
|
||||
<dd>{{ user.get_deactivation_reason_display }}</dd>
|
||||
{% endif %}
|
||||
|
||||
{% if not user.is_active and user.deactivation_reason == "pending" %}
|
||||
|
@ -104,7 +104,7 @@
|
|||
<dd>{{ server.application_version }}</dd>
|
||||
|
||||
<dt class="is-pulled-left mr-5">{% trans "Status:" %}</dt>
|
||||
<dd>{{ server.status }}</dd>
|
||||
<dd>{{ server.get_status_display }}</dd>
|
||||
</dl>
|
||||
{% if server.notes %}
|
||||
<h5>{% trans "Notes" %}</h5>
|
||||
|
|
Loading…
Reference in a new issue