Users on domain detail page

This commit is contained in:
Neil Martinsen-Burrell 2023-03-20 12:55:02 -05:00
parent 1e69eb3c10
commit 0d05225c6d
No known key found for this signature in database
GPG key ID: 6A3C818CC10D0184

View file

@ -9,6 +9,13 @@
<h1>{{ domain.name }}</h1>
<p>Active: {% if domain.is_active %}Yes{% else %}No{% endif %}</p>
<h2>Users</h2>
<ul>
{% for user in domain.users.all %}
<li>{{ user }} &lt;{{ user.email }}&gt;</li>
{% endfor %}
</ul>
</div>
</main>
{% endblock %} {# content #}