Skip to content

Commit

Permalink
Fix COC legacy URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
marksweb committed Sep 13, 2021
1 parent e494344 commit 6bce453
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion templates/core/coc/ru.html
Expand Up @@ -8,7 +8,7 @@
<h1>Кодекс поведения</h1>

<p class="also-available">Этот документ также доступен на
<a href="{% url 'coc_legacy' %}">английском (English)</a>,
<a href="{% url 'coc_legacy' lang='en' %}">английском (English)</a>,
<a href="{% url 'coc_legacy' lang='es' %}">испанском (Español)</a>,
<a href="{% url 'coc_legacy' lang='fr' %}">французском (Français)</a>,
<a href="{% url 'coc_legacy' lang='ko' %}">корейском (한국어)</a>, и
Expand Down
2 changes: 1 addition & 1 deletion templates/core/event.html
Expand Up @@ -44,7 +44,7 @@
<div class="row">
<div class="col-md-6">
<p>
{% url 'coc_legacy' as coc_url %}
{% url 'coc_legacy' lang='en' as coc_url %}
{% blocktrans trimmed %}
Participants need to follow the <a href="{{ coc_url }}">Django Girls Code of Conduct</a>.
{% endblocktrans %}
Expand Down
2 changes: 1 addition & 1 deletion templates/global/footer.html
Expand Up @@ -10,7 +10,7 @@
<li><a href="{% url 'core:foundation' %}">{% trans "Foundation" %}</a></li>
<li><a href="{% url 'core:newsletter' %}">{% trans "Newsletter" %}</a></li>
<li><a href="http://gitter.im/DjangoGirls/tutorial"><strong>{% trans "Chat with us!" %}</strong></a></li>
<li><a href="{% url 'coc_legacy' lang=LANGUAGE_CODE|default_if_none:"en" %}">{% trans "Code of Conduct" %}</a></li>
<li><a href="{% url 'coc_legacy' lang=LANGUAGE_CODE|default:"en" %}">{% trans "Code of Conduct" %}</a></li>
<li><a href="{% url 'contact:landing' %}">{% trans "Contact" %}</a></li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/organize/commitment.html
Expand Up @@ -35,7 +35,7 @@ <h1>✨ {% trans "Django Girls Organizer Commitement" %} ✨</h1>
<span>{% trans "The workshop you organize will strive to provide safe, inclusive, friendly and positive experience for everyone attending and coaching" %}</span>
</li>
<li>
{% url 'coc_legacy' 'en' as coc_url %}
{% url 'coc_legacy' lang='en' as coc_url %}
{% blocktrans trimmed %}
<span>You will require everyone involved with the workshop to comply with <a href="{{ coc_url }}">Django Girls Code of Conduct</a></span>
{% endblocktrans %}
Expand Down
2 changes: 1 addition & 1 deletion templates/organize/form/step1_previous_event.html
Expand Up @@ -28,7 +28,7 @@
<div class="row">
<div class="col-md-12">
<div class="panel">
<h1>Application to organize a workshop</h1>
<h1>{% trans "Application to organize a workshop" %}</h1>
<form novalidate previous-event-form action="" method="post">{% csrf_token %}
{{ wizard.management_form }}

Expand Down

0 comments on commit 6bce453

Please sign in to comment.