From f8f84afac826598bbbfcad3423b199ac7ad65aa2 Mon Sep 17 00:00:00 2001
From: Mark Walker
Date: Thu, 24 Oct 2024 01:18:13 +0100
Subject: [PATCH] fix: Addressing review comments
---
djangoproject/templates/base_community.html | 23 ++++++++-----------
.../templates/diversity/changes.html | 2 +-
djangoproject/templates/overview.html | 7 +++++-
djangoproject/templates/start.html | 12 +++++++---
4 files changed, 26 insertions(+), 18 deletions(-)
diff --git a/djangoproject/templates/base_community.html b/djangoproject/templates/base_community.html
index 500e9f335..294bc92eb 100644
--- a/djangoproject/templates/base_community.html
+++ b/djangoproject/templates/base_community.html
@@ -9,19 +9,16 @@
{% block header %}
- {% if community_stats.age %}
- {% blocktranslate with age=community_stats.age %}
- Building the Django Community for {{ age }}.
- {% endblocktranslate %}
- {% else %}
- {% translate "Building the Django Community." %}
- {% endif %}
- {% translate "Come join us!" %}
- {% translate "Community" %}
- {% spaceless %}
-
+ {% if community_stats.age %} + {% blocktranslate trimmed with age=community_stats.age %} + Building the Django Community for {{ age }}. + {% endblocktranslate %} + {% else %} + {% translate "Building the Django Community." %} + {% endif %} + {% translate "Come join us!" %} +
{% endblock %} {% block content-related %} diff --git a/djangoproject/templates/diversity/changes.html b/djangoproject/templates/diversity/changes.html index 88c732bee..b9d1ba206 100644 --- a/djangoproject/templates/diversity/changes.html +++ b/djangoproject/templates/diversity/changes.html @@ -43,7 +43,7 @@Some of the busiest sites on the planet use Django’s ability to quickly and flexibly scale to meet the heaviest traffic demands.
++ {% blocktranslate trimmed %} + Some of the busiest sites on the planet use Django’s ability to quickly and flexibly scale to meet the + heaviest traffic demands. + {% endblocktranslate %} +
{% translate "Learn more about scaling Django applications" %}One of the most powerful parts of Django is its automatic admin interface. It reads metadata in your models to provide a powerful and production-ready interface that content producers can immediately use to start managing content on your site. It’s easy to set up and provides many hooks for customization.
- Read more ++ {% blocktranslate trimmed %} + One of the most powerful parts of Django is its automatic admin interface. It reads metadata in your + models to provide a powerful and production-ready interface that content producers can immediately + use to start managing content on your site. It’s easy to set up and provides many hooks for customization. + {% endblocktranslate %} +
+ {% translate "Read more" %} {# fmt:off #} {% pygment 'python' %} from bands.models import Band, Member