{% load i18n %} {% block password_expired_message %} {% url 'users:user-password-update' as user_password_update_url %} {% if request.user.password_has_expired %}
{% blocktrans %} Your password has expired, please click this link update password. {% endblocktrans %}
{% elif request.user.password_will_expired %}
{% trans 'Your password will at' %} {{ request.user.date_password_expired }} {% trans 'expired. ' %} {% blocktrans %} please click this link to update your password. {% endblocktrans %}
{% endif %} {% endblock %} {% block first_login_message %} {% if request.user.is_authenticated and request.user.is_first_login %}
{% url 'users:user-first-login' as first_login_url %} {% blocktrans %} Your information was incomplete. Please click this link to complete your information. {% endblocktrans %}
{% endif %} {% endblock %} {% block update_public_key_message %} {% if request.user.is_authenticated and not request.user.is_public_key_valid and not request.COOKIE.close_public_key_msg != '1' %}
{% url 'users:user-pubkey-update' as user_pubkey_update %} {% blocktrans %} Your ssh public key not set or expired. Please click this link to update {% endblocktrans %}
{% endif %} {% endblock %} {% if messages %} {% for message in messages %}
{# {{ message|safe }}#} {{ message }}
{% endfor %} {% endif %}