{% extends "./_base.html" %} {% load static %} {% load i18n %} {% block content %}

{% translate "Hello" %}, {% if user.get_full_name %}{{ user.get_full_name }}{% else %}{{ user.username }}{% endif %}.

{% blocktranslate trimmed count counter=num_reviews %} {{ counter }} open review {% plural %} {{ counter }} open reviews {% endblocktranslate %}

{% if messages %} {% endif %} {% if form.errors %} {% endif %} {% if num_reviews > 0 %}

{% translate "Word currently under review" %}:

{% csrf_token %}

{{ current_review.unit_word.word.word }} {{ current_review.unit_word.word.singular_article_as_text }}

{% if current_review.unit_word.word.word_type %} {{ current_review.unit_word.word.get_word_type_display }} {% else %} {% translate "At the moment there is no word type for this word." %} {% endif %} · {{ current_review.unit_word.unit }}

{% with image=current_review.unit_word.image|default:current_review.unit_word.word.image %}
{% if image %} {{ current_review.unit_word.word.word }} {% else %} {% include "icons/image.svg" %} {% translate "There is no image for this word yet." %} {% endif %}
{% endwith %} {% with audio=current_review.unit_word.word.audio %}
{% if audio %}
{# The second waveform is the progress fill, clipped by expert_access.ts #}
{% include "icons/waveform.svg" %}
{% else %} {% include "icons/play.svg" %} {% translate "There is no audio for this word yet." %} {% endif %}
{% endwith %}
{# The feedback dialog is programmatically controlled via expert_access.ts, #} {# which fills in all the dynamic values (like review_status) #}
{% csrf_token %}

{{ form.reason }}
{{ form.comment }}

0/{{ form.comment.field.max_length }}

{% else %}

{% translate "Currently there are no words to check" %}

{% endif %} {% endblock %}