mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-23 10:30:41 +00:00
18a892ee61
Make sure everything is translatable
30 lines
927 B
Text
30 lines
927 B
Text
{% extends "base" %}
|
|
{% import "macros" as macros %}
|
|
|
|
{% block title %}
|
|
Users
|
|
{% endblock title %}
|
|
|
|
{% block content %}
|
|
<h1>{{ "Users" | _ }}</h1>
|
|
|
|
{{ macros::tabs(links=['/admin', '/admin/instances', '/admin/users'], titles=['Configuration', 'Instances', 'Users'], selected=3) }}
|
|
|
|
<div class="list">
|
|
{% for user in users %}
|
|
<div class="flex">
|
|
{{ macros::avatar(user=user) }}
|
|
<p class="grow">
|
|
<a href="/@/{{ user.fqn }}">{{ user.name }}</a>
|
|
<small>@{{ user.username }}</small>
|
|
</p>
|
|
{% if not user.is_admin %}
|
|
<a href="/admin/users/{{ user.id }}/ban">
|
|
{{ "Ban" | _ }}
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{{ macros::paginate(page=page, total=n_pages) }}
|
|
{% endblock content %}
|