{% if session.login_as_orig_user %} {% trans -%} This user has not accepted the latest terms. {%- endtrans %} {% else %} {% trans link=''|format(url_for('legal.accept_agreement'))|safe, endlink=''|safe -%} You have not accepted the latest terms. Please {{ link }}review them{{ endlink }} at your earliest convenience. {%- endtrans %} {% endif %}