atr/templates/committee-view.html [70:90]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% if key.expires %}
{% set days_until_expiry = (key.expires - now).days %}
{% if days_until_expiry < 0 %}
{{ key.expires.strftime("%Y-%m-%d %H:%M:%S") }}
Expired
{% elif days_until_expiry <= 30 %}
{{ key.expires.strftime("%Y-%m-%d %H:%M:%S") }}
Expires in {{ days_until_expiry }} days
{% else %}
{{ key.expires.strftime("%Y-%m-%d %H:%M:%S") }}
{% endif %}
{% else %}
Never
{% endif %}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
atr/templates/keys-show-gpg.html [36:56]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% if key.expires %}
{% set days_until_expiry = (key.expires - now).days %}
{% if days_until_expiry < 0 %}
{{ key.expires.strftime("%Y-%m-%d %H:%M:%S") }}
Expired
{% elif days_until_expiry <= 30 %}
{{ key.expires.strftime("%Y-%m-%d %H:%M:%S") }}
Expires in {{ days_until_expiry }} days
{% else %}
{{ key.expires.strftime("%Y-%m-%d %H:%M:%S") }}
{% endif %}
{% else %}
Never
{% endif %}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -