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>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% if user.RegistrationTS %}
|
||||
<tr>
|
||||
<th>{% trans %}Registration date{% endtrans %}:</th>
|
||||
<td>
|
||||
{{ user.RegistrationTS.strftime("%Y-%m-%d") }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if login_ts %}
|
||||
<tr>
|
||||
<th>{% trans %}Last Login{% endtrans %}:</th>
|
||||
|
|
Loading…
Add table
Reference in a new issue