{% 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 score.action %} {% if object.rate > 0 and own_report or object.rate > 0 and admin_report %} {% endif %} {% 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 %} {% 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" %}
{{ score.creation_time }} {{ score.action }} {% if score.submission.unit.isobsolete %} #{{ score.submission.unit.id }} {% else %} #{{ score.submission.unit.id }} {% endif %} {{ score.wordcount }} {% if score.is_similarity_taken_from_mt %}MT{% endif %}{% if score.action == 'Review' %}—{% elif score.action == 'Translation' %}{% if score.similarity == 0 %}< 50{% else %}{{ score.similarity|floatformat }}{% endif %}%{% endif %} {{ score.words|floatformat:2 }}{% if score.action == 'Review' %}{{ score.review_rate }}{% elif score.action = 'Translation' %}{{ score.rate }}{% endif %} {{ object.currency }} {{ score.subtotal|floatformat:4 }} {{ object.currency }}
{{ task.datetime }} {{ task.action }} ({% trans "registered tasks" %}) {{ task.amount }} {{ task.rate }} {{ object.currency }} {{ task.subtotal }} {{ object.currency }}
{% trans "No activity recorded in a given period" %}
  {% 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 %}