Start switch to Bootstrap 5
- drop jQuery and fontawesome dependencies - add bootstrap5 and bootstrap-icons - update fonts mfizz - update base templates and the first set of other templates - replace blocktrans and trans with blocktranslate and translate to prepare for Django 4 - move hostingpakcage templates to hostingpackages/templates - update translations
This commit is contained in:
parent
5cf7ef7a23
commit
8e42cb9c18
124 changed files with 10873 additions and 4490 deletions
|
@ -1,18 +1,21 @@
|
|||
{% extends "account/base.html" %}
|
||||
{% load account i18n %}
|
||||
{% block title %}{{ block.super }} - {% trans "Confirm E-mail Address" %}{% endblock title %}
|
||||
{% block page_title %}{% trans "Confirm E-Mail Address" %}{% endblock %}
|
||||
{% block title %}{{ block.super }} - {% translate "Confirm E-mail Address" %}{% endblock title %}
|
||||
{% block page_title %}{% translate "Confirm E-Mail Address" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% 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 e-mail address for user {{ user_display }}.{% endblocktrans %}</p>
|
||||
<form method="post" action="{% url 'account_confirm_email' confirmation.key %}">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="btn btn-default">{% trans 'Confirm' %}</button>
|
||||
</form>
|
||||
{% else %}
|
||||
{% url 'account_email' as email_url %}
|
||||
<p>{% blocktrans %}This e-mail confirmation link expired or is invalid. Please <a href="{{ email_url}}">issue a new e-mail confirmation request</a>.{% endblocktrans %}</p>
|
||||
{% endif %}
|
||||
{% if confirmation %}
|
||||
{% user_display confirmation.email_address.user as user_display %}
|
||||
<p>{% blocktranslate with confirmation.email_address.email as email trimmed %}Please confirm that
|
||||
<a href="mailto:{{ email }}">{{ email }}</a> is an e-mail address for user {{ user_display }}.
|
||||
{% endblocktranslate %}</p>
|
||||
<form method="post" action="{% url 'account_confirm_email' confirmation.key %}">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="btn btn-default">{% translate 'Confirm' %}</button>
|
||||
</form>
|
||||
{% else %}
|
||||
{% url 'account_email' as email_url %}
|
||||
<p>{% blocktranslate trimmed %}This e-mail confirmation link expired or is invalid. Please
|
||||
<a href="{{ email_url }}">issue a new e-mail confirmation request</a>.{% endblocktranslate %}</p>
|
||||
{% endif %}
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue