{{ data.owner_name }},
{% trans receive_date=data.receive_date.strftime('%A, %e %B %Y, %H:%M:%S'), author_date=data.author_date.strftime("%A, %e %B %Y, %H:%M:%S"),
receive_unix=data.receive_date.timestamp() | int, author_unix=data.author_date.timestamp() | int
%}
created on {{ author_date }} ({{ author_unix }}),
received on {{ receive_date }} ({{ receive_unix }})
{% endtrans %}
{% trans %}Author identity:{% endtrans %} {{ data.owner_identity | harvester_protection | safe }}
{{ data.sha }}
{% elif vars.hunk_started %} {% if line.startswith("+") %} {{ line[1:] }} {% set vars.actual_line = vars.modified_line %} {% set vars.line_type = 1 %} {% set vars.modified_line = vars.modified_line + 1 %} {% elif line.startswith("-") %}{# close the last hunk #} {% endif %}{{ line[1:] }}{% set vars.actual_line = vars.original_line %} {% set vars.line_type = 0 %} {% set vars.original_line = vars.original_line + 1 %} {% elif not line.startswith("\\") %} {% if line %}{{ line[1:] }} {% endif %} {% if not line.startswith("@@") %} {% set vars.actual_line = vars.modified_line %} {% set vars.line_type = 1 %} {% set vars.original_line = vars.original_line + 1 %} {% set vars.modified_line = vars.modified_line + 1 %} {% endif %} {% endif %} {% endif %} {% for comment in comment_query.filter_by(commit=data, file=file, line_number=vars.actual_line, line_type=vars.line_type, state=1).all() %}{% endfor %} {% if comment_query.filter_by(commit=data, file=file, line_number=vars.actual_line, line_type=vars.line_type, state=0).count() %}{{ comment.text | safe }} {# this was generated by the markdown parser which escapes HTML #} {% trans %}by{% endtrans %} {{ comment.owner.username }}, {{ comment.date | strftime('%A, %e %B %Y, %H:%M:%S') }}{% if comment.author == current_user or data.owner == current_user or permission_level >= 2 %} {% endif %} {% endif %} {% endfor %} {% if vars.hunk_started %}{% trans count=comment_query.filter_by(commit=data, file=file, line_number=vars.actual_line, line_type=vars.line_type, state=0).count() %}Resolved comments ({{ count }}){% endtrans %}
{% for comment in comment_query.filter_by(commit=data, file=file, line_number=vars.actual_line, line_type=vars.line_type, state=0).all() %}{{ comment.text | safe }} {# this was generated by the markdown parser which escapes HML #}{% endfor %}{% if comment.author == current_user or data.owner == current_user or permission_level >= 2 %} {% endif %}