Skip to content

Commit

Permalink
fix: Addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
marksweb committed Oct 24, 2024
1 parent 0082b97 commit f8f84af
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 18 deletions.
23 changes: 10 additions & 13 deletions djangoproject/templates/base_community.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,16 @@

{% block header %}
<h1 class="visuallyhidden">{% translate "Community" %}</h1>
{% spaceless %}
<p>
{% if community_stats.age %}
{% blocktranslate with age=community_stats.age %}
Building the <em>Django</em> Community for <em>{{ age }}</em>.
{% endblocktranslate %}
{% else %}
{% translate "Building the <em>Django</em> Community." %}
{% endif %}
{% translate "Come join us!" %}
</p>
{% endif %}. {% translate "Come join us!" %}</p>
{% endspaceless %}
<p>
{% if community_stats.age %}
{% blocktranslate trimmed with age=community_stats.age %}
Building the <em>Django</em> Community for <em>{{ age }}</em>.
{% endblocktranslate %}
{% else %}
{% translate "Building the <em>Django</em> Community." %}
{% endif %}
{% translate "Come join us!" %}
</p>
{% endblock %}

{% block content-related %}
Expand Down
2 changes: 1 addition & 1 deletion djangoproject/templates/diversity/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h2>{% translate "Change control process" %}</h2>
<h2>{% translate "Changelog" %}</h2>

<dl>
<dt>Jun 16, 2015</dt>
<dt>{% translate "June" %} 16, 2015</dt>
<dd><a href="https://github.com/django/djangoproject.com/commit/da5f784cf737c6d74c1233c3db3442732fd87d6d">
{% translate "Initial release" %}</a>.</dd>
</dl>
Expand Down
7 changes: 6 additions & 1 deletion djangoproject/templates/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ <h1>{% translate "Why Django?" %}</h1>

<dt class="even"><i class="icon icon-dashboard"></i> {% translate "Exceedingly scalable." %}</dt>
<dd class="even">
<p>Some of the busiest sites on the planet use Django’s ability to quickly and flexibly scale to meet the heaviest traffic demands.</p>
<p>
{% 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 %}
</p>
<a class="link-readmore" href="{% url 'document-detail' lang='en' version='stable' url='faq/general' host 'docs' %}#does-django-scale">{% translate "Learn more about scaling Django applications" %}</a>
</dd>

Expand Down
12 changes: 9 additions & 3 deletions djangoproject/templates/start.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,16 @@ <h2>{% translate "Authentication" %}</h2>
</div>
</li>
<li>
<h2>Admin</h2>
<h2>{% translate "Admin" %}</h2>
<div class="collapsing-content">
<p>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.</p>
<a class="link-readmore" href="{% url 'document-detail' lang='en' version='stable' url='ref/contrib/admin' host 'docs' %}">Read more</a>
<p>
{% 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 %}
</p>
<a class="link-readmore" href="{% url 'document-detail' lang='en' version='stable' url='ref/contrib/admin' host 'docs' %}">{% translate "Read more" %}</a>
{# fmt:off #}
{% pygment 'python' %}
from bands.models import Band, Member
Expand Down

0 comments on commit f8f84af

Please sign in to comment.