forked from rc/aircox
update dependencies to Django 4.1 + rename blocktrans/trans templates
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<div class="section">
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<h1 class="title is-4">{% trans "Today" %}</h1>
|
||||
<h1 class="title is-4">{% translate "Today" %}</h1>
|
||||
<table class="table is-fullwidth is-striped">
|
||||
<tbody>
|
||||
{% for diffusion in diffusions %}
|
||||
@ -24,10 +24,10 @@
|
||||
<span class="icon is-small">
|
||||
{% if diffusion.is_live %}
|
||||
<i class="fa fa-microphone"
|
||||
title="{% trans "Live diffusion" %}"></i>
|
||||
title="{% translate "Live diffusion" %}"></i>
|
||||
{% else %}
|
||||
<i class="fa fa-music"
|
||||
title="{% trans "Differed diffusion" %}"></i>
|
||||
title="{% translate "Differed diffusion" %}"></i>
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h1 class="title is-4">{% trans "Latest comments" %}</h1>
|
||||
<h1 class="title is-4">{% translate "Latest comments" %}</h1>
|
||||
<table class="table is-fullwidth is-striped">
|
||||
{% for comment in comments %}
|
||||
{% with page=comment.page %}
|
||||
@ -62,13 +62,13 @@
|
||||
<span>{{ comment.date }}</span>
|
||||
<span class="float-right">
|
||||
<a href="{% url "admin:aircox_comment_change" comment.pk %}"
|
||||
title="{% trans "Edit comment" %}"
|
||||
aria-label="{% trans "Edit comment" %}">
|
||||
title="{% translate "Edit comment" %}"
|
||||
aria-label="{% translate "Edit comment" %}">
|
||||
<span class="fa fa-edit"></span>
|
||||
</a>
|
||||
<a class="has-text-danger"
|
||||
title="{% trans "Delete comment" %}"
|
||||
aria-label="{% trans "Delete comment" %}"
|
||||
title="{% translate "Delete comment" %}"
|
||||
aria-label="{% translate "Delete comment" %}"
|
||||
href="{% url "admin:aircox_comment_delete" comment.pk %}">
|
||||
<span class="fa fa-trash-alt"></span>
|
||||
</a>
|
||||
@ -84,7 +84,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="has-text-centered">
|
||||
<a href="{% url "admin:aircox_comment_changelist" %}" class="float-center">{% trans "All comments" %}</a>
|
||||
<a href="{% url "admin:aircox_comment_changelist" %}" class="float-center">{% translate "All comments" %}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column">
|
||||
|
Reference in New Issue
Block a user