diff --git a/djangoproject/scss/_style.scss b/djangoproject/scss/_style.scss index 0cb64ca5bc..1d7b983e10 100644 --- a/djangoproject/scss/_style.scss +++ b/djangoproject/scss/_style.scss @@ -1345,6 +1345,18 @@ label[for] { margin: 10px 0; } +.cta.arrow { + height: auto; + &::after { + content: " →" / ""; + } + &:dir(rtl) { + &::after { + content: " ←" / ""; + } + } +} + .callout-right { @include respond-min(768px) { float: right; diff --git a/djangoproject/templates/contact/coc.html b/djangoproject/templates/contact/coc.html deleted file mode 100644 index db307a7f8a..0000000000 --- a/djangoproject/templates/contact/coc.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "base_3col.html" %} -{% load i18n %} - -{% block title %}{% translate "Django Code of Conduct Feedback" %}{% endblock %} - -{% block content %} -

{% translate "Django Code of Conduct Feedback" %}

- {% include "contact/coc_form.html" %} -{% endblock %} diff --git a/djangoproject/templates/contact/coc_form.html b/djangoproject/templates/contact/coc_form.html deleted file mode 100644 index 05d1aa4c1e..0000000000 --- a/djangoproject/templates/contact/coc_form.html +++ /dev/null @@ -1,23 +0,0 @@ -{% load i18n %} -
- {% csrf_token %} - -{# hardcoding inputs because they'll be included on the CoC page itself #} -

- - {% if form.name.errors %}

{{ form.name.errors.as_text }}

{% endif %} - -

-

- - {% if form.email.errors %}

{{ form.email.errors.as_text }}

{% endif %} - -

-

- - {% if form.body.errors %}

{{ form.body.errors.as_text }}

{% endif %} - -

-

- -
diff --git a/djangoproject/templates/contact/foundation.html b/djangoproject/templates/contact/foundation.html index 2dc3e5ddef..ea5374122f 100644 --- a/djangoproject/templates/contact/foundation.html +++ b/djangoproject/templates/contact/foundation.html @@ -29,7 +29,7 @@

{% translate "Contact the Django Software Foundation" %}

Django Forum. {% endblocktranslate %}

-
+ {% csrf_token %}
{{ form.name.as_field_group }} @@ -44,6 +44,8 @@

{% translate "Contact the Django Software Foundation" %}

{{ form.body.as_field_group }}
{{ form.captcha }} -

+
+ +
{% endblock %} diff --git a/djangoproject/templates/fundraising/manage-donations.html b/djangoproject/templates/fundraising/manage-donations.html index 340bc6550e..8812087b87 100644 --- a/djangoproject/templates/fundraising/manage-donations.html +++ b/djangoproject/templates/fundraising/manage-donations.html @@ -7,7 +7,7 @@ {% for message in messages %}

{{ message }}

{% endfor %} -
+ {% endif %} {% endblock %} @@ -23,20 +23,20 @@

{% translate "Manage your donations to the Django Software Foundation" %} -

{% translate "Manage your participation in the fundraising campaigns" %}

{% translate "Information entered below will be visible on all of your donations to the Django Project." %}

{% csrf_token %} {% include 'fundraising/includes/_form.html' with form=hero_form %} -

- -

+
+ +
{# Always include to avoid "Management form has been tampered with" if no recurring donations exist #} {{ modify_donations_formset.management_form }} {% if recurring_donations %} -
+

{% translate "Modify your recurring donations" %}

{% translate "Update the time interval or amount of your recurring donation here:" %}

{% for form in modify_donations_formset %} @@ -47,11 +47,11 @@

{% translate "Modify your recurring donations" %}

{% endfor %} -

- -

+
+ +
-
+

{% translate "Cancel your recurring donations" %}

{% translate "You can cancel your recurring donation to the Django Software Foundation anytime." %}