{% load i18n common_tags %} {% blocktrans with object.display_name as user %}Report for {{ user }}, {% endblocktrans %}{% format_date_range start end " – " %} | {{ settings.POOTLE_TITLE }} {% if object %} {% if own_report and object.rate > 0 or admin_report and object.rate > 0 %} {% endif %} {% for item in items %} {% if item.score %} {% with score=item.score %} {% if object.rate > 0 and own_report or object.rate > 0 and admin_report %} {% endif %} {% endwith %} {% else %} {% if own_report and object.rate > 0 or admin_report and object.rate > 0 %} {% with task=item.task %} {% endwith %} {% endif %} {% endif %} {% empty %} {% endfor %} {% if items %} {% if object.rate > 0 and own_report or object.rate > 0 and admin_report %} {% endif %} {% for rate, item in totals.translated.items %} {% if object.rate > 0 and own_report or object.rate > 0 and admin_report %} {% endif %} {% endfor %} {% for rate, item in totals.reviewed.items %} {% if object.rate > 0 and own_report or object.rate > 0 and admin_report %} {% endif %} {% endfor %} {% if object.rate > 0 and own_report or object.rate > 0 and admin_report %} {% for type, value in totals.paid_tasks.items %} {% for rate, item in value.rates.items %} {% endfor %} {% endfor %} {% endif %} {% endif %}

{% blocktrans with object.display_name as user %}Report for {{ user }}{% endblocktrans %}

{% block dates %} {% endblock dates %}
{% trans "Local server time" %} (GMT{{ utc_offset }}) {% trans "Action" %} {% trans "Unit" %} {% trans "Source words" %} {% trans "Similarity" %} {% trans "Words" %}{% trans "Rate" %} {% trans "Subtotal" %}
{{ item.creation_time }} {{ item.action_name }} {% if score.submission.unit.isobsolete %} #{{ score.submission.unit.id }} {% else %} #{{ score.submission.unit.id }} {% endif %} {{ item.wordcount }} {% if score.is_similarity_taken_from_mt %}MT{% endif %} {% if item.action == action_types.REVIEW %} — {% elif item.action == action_types.TRANSLATION or item.action == action_types.SUGGESTION %} {% if item.similarity == 0 %}< 50{% else %}{{ item.similarity|floatformat }}{% endif %}% {% endif %} {{ item.wordcount|floatformat:2 }} {% if item.action != action_types.SUGGESTION %} {% if item.action == action_types.REVIEW %} {{ score.review_rate }} {% elif item.action == action_types.TRANSLATION %} {{ score.rate }} {% endif %} {{ object.currency }} {% else %} — {% endif %} {% if item.action != action_types.SUGGESTION %} {{ item.subtotal|floatformat:4 }} {{ object.currency }} {% else %} — {% endif %}
{{ task.datetime }} {{ item.action_name }} ({% trans "registered tasks" %}) {{ task.amount }} {{ task.rate }} {{ object.currency }} {{ item.subtotal }} {{ object.currency }}
{% trans "No activity recorded in a given period" %}
  {% trans "Suggestion (subtotal)" %} {% if totals.suggested > 0 %}{{ totals.suggested }}{% else %}—{% endif %}
  {% trans "Translation (subtotal)" %} {% if item.words > 0 %}{{ item.words }}{% else %}—{% endif %}{{ rate }} {{ object.currency }} {% if item.subtotal > 0 %} {{ item.subtotal|floatformat:4 }} {{ object.currency }} {% else %}—{% endif %}
  {% trans "Review (subtotal)" %} {% if item.words > 0 %}{{ item.words }}{% else %}—{% endif %}{{ rate }} {{ object.currency }} {% if item.subtotal > 0 %}{{ item.subtotal|floatformat:2 }} {{ object.currency }}{% else %}—{% endif %}
  {{ value.action }} ({% trans "registered tasks" %}) {{ item.amount }} {{ rate }} {{ object.currency }} {{ item.subtotal }} {{ object.currency }}
  {% trans "Total" %} {{ totals.all|floatformat:4 }} {{ object.currency }}
{% else %}
{% trans "Please select a valid user." %}
{% endif %}