mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
* remove markuplint * remove dedicated html step - will be done by pre-commit * add djlint for django template linting * Fix T003: Endblock should have name * Fix H013: Img tag should have an alt attribute * Fix H014: Found extra blank lines * Fix T003: Endblock should have name * Fix H013: Img tag should have an alt attribute * small fixes * Fix T001: Variables should be wrapped in a single whitespace * Fix T003: Endblock should have name * small fixes * fix form method * add entry to contributing * fix template changes * another fix * use current version
34 lines
1.0 KiB
HTML
34 lines
1.0 KiB
HTML
{% extends "account/base.html" %}
|
|
|
|
{% load i18n %}
|
|
{% load account %}
|
|
|
|
{% block head_title %}{% trans "Confirm Email Address" %}{% endblock head_title %}
|
|
|
|
{% block content %}
|
|
<h1>{% trans "Confirm Email Address" %}</h1>
|
|
|
|
{% if confirmation %}
|
|
|
|
{% user_display confirmation.email_address.user as user_display %}
|
|
|
|
<p>{% blocktrans with confirmation.email_address.email as email %}Please confirm that <a href="mailto:{{ email }}">{{ email }}</a> is an email address for user {{ user_display }}.{% endblocktrans %}</p>
|
|
|
|
<form method="post" action="{% url 'account_confirm_email' confirmation.key %}">
|
|
{% csrf_token %}
|
|
<hr>
|
|
<button type="submit" class="btn btn-success float-right">
|
|
<span class='fas fa-check-circle'></span> {% trans 'Confirm' %}
|
|
</button>
|
|
</form>
|
|
|
|
{% else %}
|
|
|
|
{% url 'account_email' as email_url %}
|
|
|
|
<p>{% blocktrans %}This email confirmation link expired or is invalid. Please <a href="{{ email_url }}">issue a new email confirmation request</a>.{% endblocktrans %}</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock content %}
|