mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -08:00
show created and last active dates #116
This commit is contained in:
parent
c374f65a27
commit
c18679a0f5
1 changed files with 2 additions and 2 deletions
|
@ -18,6 +18,8 @@
|
||||||
<form method="post" enctype="multipart/form-data" id="add_local_user_form">
|
<form method="post" enctype="multipart/form-data" id="add_local_user_form">
|
||||||
{{ form.csrf_token() }}
|
{{ form.csrf_token() }}
|
||||||
{{ user.about_html|safe if user.about_html }}
|
{{ user.about_html|safe if user.about_html }}
|
||||||
|
<p>Created: {{ moment(user.created).format('MMMM Do YYYY, h:mm:ss a') }}</p>
|
||||||
|
<p>Last active: {{ moment(user.last_seen).format('MMMM Do YYYY, h:mm:ss a') }}</p>
|
||||||
<p>Email: <a href="mailto:{{ user.email }}">{{ user.email }}</a></p>
|
<p>Email: <a href="mailto:{{ user.email }}">{{ user.email }}</a></p>
|
||||||
<p>Matrix: {{ user.matrix_user_id if user.matrix_user_id }}</p>
|
<p>Matrix: {{ user.matrix_user_id if user.matrix_user_id }}</p>
|
||||||
{% if user.avatar_id %}
|
{% if user.avatar_id %}
|
||||||
|
@ -43,8 +45,6 @@
|
||||||
{% if not user.is_local() %}
|
{% if not user.is_local() %}
|
||||||
<a href="{{ user.profile_id() }}" class="btn btn-primary">View original profile</a>
|
<a href="{{ user.profile_id() }}" class="btn btn-primary">View original profile</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="" class="btn btn-warning confirm_first">Ban</a>
|
|
||||||
<a href="" class="btn btn-warning confirm_first">Ban + Purge</a>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue