mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: only display registration time when RegistrationTS is valid
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
bfe48a7d76
commit
8310357029
1 changed files with 2 additions and 0 deletions
|
@ -62,12 +62,14 @@
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
|
{% if user.RegistrationTS %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans %}Registration date{% endtrans %}:</th>
|
<th>{% trans %}Registration date{% endtrans %}:</th>
|
||||||
<td>
|
<td>
|
||||||
{{ user.RegistrationTS.strftime("%Y-%m-%d") }}
|
{{ user.RegistrationTS.strftime("%Y-%m-%d") }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{% endif %}
|
||||||
{% if login_ts %}
|
{% if login_ts %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans %}Last Login{% endtrans %}:</th>
|
<th>{% trans %}Last Login{% endtrans %}:</th>
|
||||||
|
|
Loading…
Add table
Reference in a new issue