forked from rc/aircox
update dependencies to Django 4.1 + rename blocktrans/trans templates
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
{% if is_primary %}
|
||||
<span class="fas fa-play"></span>
|
||||
<time datetime="{{ object.start }}">
|
||||
{% trans "Currently" %}
|
||||
{% translate "Currently" %}
|
||||
</time>
|
||||
{% else %}
|
||||
{{ object.start|date:"H:i" }}
|
||||
@ -43,7 +43,7 @@
|
||||
<hr>
|
||||
{% endif %}
|
||||
|
||||
<h4 class="title is-4">{% trans "Last publications" %}</h4>
|
||||
<h4 class="title is-4">{% translate "Last publications" %}</h4>
|
||||
{% with has_headline=True %}
|
||||
{{ block.super }}
|
||||
{% endwith %}
|
||||
@ -54,8 +54,8 @@
|
||||
<ul class="pagination-list">
|
||||
<li>
|
||||
<a href="{% url "page-list" %}" class="pagination-link"
|
||||
aria-label="{% trans "Show all publication" %}">
|
||||
{% trans "More publications..." %}
|
||||
aria-label="{% translate "Show all publication" %}">
|
||||
{% translate "More publications..." %}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@ -64,14 +64,14 @@
|
||||
|
||||
{% block sidebar %}
|
||||
<section>
|
||||
<h4 class="title is-4">{% trans "Previously on air" %}</h4>
|
||||
<h4 class="title is-4">{% translate "Previously on air" %}</h4>
|
||||
{% with logs as object_list %}
|
||||
{% include "aircox/widgets/log_list.html" %}
|
||||
{% endwith %}
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h4 class="title is-4">{% trans "Today" %}</h4>
|
||||
<h4 class="title is-4">{% translate "Today" %}</h4>
|
||||
{% with is_thin=True %}
|
||||
{% with hide_schedule=True %}
|
||||
{% with has_headline=False %}
|
||||
|
Reference in New Issue
Block a user