Merge branch 'main' into frontend

This commit is contained in:
Fabien Basmaison
2021-04-07 09:25:40 +02:00
22 changed files with 576 additions and 521 deletions

View File

@ -70,7 +70,7 @@
{% if request.user.is_authenticated %}
<div class="navbar-item has-dropdown is-hoverable">
<a
href="{{ user.local_path }}"
href="{{ request.user.local_path }}"
class="navbar-link pulldown-menu"
role="button"
aria-expanded="false"

View File

@ -11,7 +11,7 @@
<h1 class="title">
{% trans "Lists" %}
{% if request.user.is_authenticated %}
<a class="help has-text-weight-normal" href="{% url 'user-lists' request.user|username %}">Your lists</a>
<a class="help has-text-weight-normal" href="{% url 'user-lists' request.user|username %}">{% trans "Your Lists" %}</a>
{% endif %}
</h1>
</div>

View File

@ -3,7 +3,7 @@
{{ text }}
{% if sort == field %}
<span class="icon icon-arrow-up">
<span class="is-sr-only">{% trans "Sorted asccending" %}</span>
<span class="is-sr-only">{% trans "Sorted ascending" %}</span>
</span>
{% elif sort == "-"|add:field %}
<span class="icon icon-arrow-down">