Skip to content

Commit

Permalink
Added PyCharm banners for 2023 fundraiser.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixxm committed Jun 30, 2023
1 parent f63107b commit 94ead8c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions djangoproject/templates/fundraising/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
{% block og_description %}Support Django development by donating to the Django Software Foundation{% endblock %}

{% block header %}
<h1><a href="https://www.jetbrains.com/pycharm/promo/support-django/">Until July 24, 2023, <em>get PyCharm for 30% off</em>. All money goes to the <em>Django Software Foundation</em>!</a></h1>
{% comment %}
<h1 class="visuallyhidden">Support Django</h1>
<p><em>Support Django development</em> by donating to the <em>Django Software Foundation</em>.</p>
{% endcomment %}
{% endblock %}

{% block messages %}
Expand Down
7 changes: 7 additions & 0 deletions djangoproject/templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
{% block layout_class %}sidebar-right{% endblock %}

{% block header %}
<div class="copy-banner" style="background: #44B78B;">
<div class="container">
<h1><a href="https://www.jetbrains.com/pycharm/promo/support-django/"
style="font-weight: bold;">Until July 24, 2023, get PyCharm at 30% off. All money goes to the DSF!</a>
</h1>
</div>
</div>
<h1 class="visuallyhidden">Django</h1>
<p>
<em>Django makes it easier to build better web apps more quickly and with less code.</em>
Expand Down
10 changes: 9 additions & 1 deletion docs/templates/base_docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@
{% endblock %}

{% block header %}
{% comment %}
<h1><a href="{% block doc_url %}{% url 'homepage' %}{% endblock %}">{% trans 'Documentation' %}</a></h1>
{% search_form %}
{% endcomment %}
<h1>
<a href="{% block doc_url %}{% url 'homepage' %}{% endblock %}">{% trans 'Documentation' %}</a> &ndash;
<a href="https://www.jetbrains.com/pycharm/promo/support-django/">
Until July 24, 2023, <em>get PyCharm at 30% off</em>.<br>All money goes to the <em>DSF!</em>
</a>
</h1>
{% search_form %}
{% endblock %}

{% block layout_class %}sidebar-right{% endblock %}

0 comments on commit 94ead8c

Please sign in to comment.