Skip to content

Commit d845e54

Browse files
committed
Restored PyCharm 2024 banner
The banner was removed a bit too hastily, as it turns out. This reverts commit 41718b8.
1 parent 41718b8 commit d845e54

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

djangoproject/templates/fundraising/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
{% block og_description %}Support Django development by donating to the Django Software Foundation{% endblock %}
99

1010
{% block header %}
11+
<h1><a href="https://www.jetbrains.com/pycharm/promo/support-django/?utm_campaign=pycharm&amp;utm_content=django-fundraiser-24&amp;utm_medium=referral&amp;utm_source=djangoproject.com">Until October 6, 2024, <em>get PyCharm for 30% off</em>. All money goes to the <em>Django Software Foundation</em>!</a></h1>
12+
{% comment %}
1113
<h1 class="visuallyhidden">Support Django</h1>
1214
<p><em>Support Django development</em> by donating to the <em>Django Software Foundation</em>.</p>
15+
{% endcomment %}
1316
{% endblock %}
1417

1518
{% block messages %}

djangoproject/templates/homepage.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
{% block layout_class %}sidebar-right{% endblock %}
77

88
{% block header %}
9+
<div class="copy-banner" style="background: #44B78B;">
10+
<div class="container">
11+
<h1><a href="https://www.jetbrains.com/pycharm/promo/support-django/?utm_campaign=pycharm&amp;utm_content=django-fundraiser-24&amp;utm_medium=referral&amp;utm_source=djangoproject.com"
12+
style="font-weight: bold;">Until October 6, 2024, get PyCharm at 30% off. All money goes to the DSF!</a>
13+
</h1>
14+
</div>
15+
</div>
916
<h1 class="visuallyhidden">Django</h1>
1017
<p>
1118
<em>Django makes it easier to build better web apps more quickly and with less code.</em>

djangoproject/templates/releases/download.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
{% block og_image_height %}480{% endblock %}
1414

1515
{% block header %}
16-
<h1>Download</h1>
16+
<h1>
17+
Download &ndash;
18+
<a href="https://www.jetbrains.com/pycharm/promo/support-django/?utm_campaign=pycharm&amp;utm_content=django-fundraiser-24&amp;utm_medium=referral&amp;utm_source=djangoproject.com">Until October 6, 2024, <em>get PyCharm for 30% off</em>. All money goes to the <em>Django Software Foundation</em>!</a>
19+
</h1>
1720
{% endblock %}
1821

1922
{% block content %}

docs/templates/base_docs.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,15 @@
1010
{% endblock %}
1111

1212
{% block header %}
13-
<h1><a href="{% block doc_url %}{% url 'homepage' %}{% endblock %}">{% trans 'Documentation' %}</a></h1>
13+
{% comment %}
14+
<h1><a href="{% block doc_url %}{% url 'homepage' %}{% endblock %}">{% trans 'Documentation' %}</a></h1>
15+
{% endcomment %}
16+
<h1>
17+
<a href="{% block doc_url %}{% url 'homepage' %}{% endblock %}">{% trans 'Documentation' %}</a> &ndash;
18+
<a href="https://www.jetbrains.com/pycharm/promo/support-django/?utm_campaign=pycharm&amp;utm_content=django-fundraiser-24&amp;utm_medium=referral&amp;utm_source=djangoproject.com">
19+
Until October 6, 2024, <em>get PyCharm at 30% off</em>.<br>All money goes to the <em>DSF!</em>
20+
</a>
21+
</h1>
1422
{% search_form %}
1523
{% endblock %}
1624

0 commit comments

Comments
 (0)