{% load filters %}
New record

{{project_name}}{% if tags %}tagged with {{tags}}{% endif %}

{{page_list.start_index}} - {{page_list.end_index}} of {{paginator.count}}
    {% for record in object_list %}
  1. {{record.version}}
    {{record.repository.url}}
    {{record.repository.url|cut:"repo"}}
    {% if tag %}
    {% for other_tag in record.tag_objects %}{% if tag == other_tag %}{{tag}} {% else %}{{other_tag.name}}{% endif %}{% endfor %}
    {% else %}
    {% for tag in record.tag_objects %}{{tag}}, {% endfor %}
    {% endif %}
    {{record.reason}}
    {{record.outcome}}
    {{record.duration|human_readable_duration}}
    {{record.launch_mode.get_parameters.n|default:"1"}}
    {{record.timestamp|date:"d/m/Y"}}
    {{record.timestamp|date:"H:i:s"}}
    {{record.executable.name}}
    {{record.executable.version}}
    {{record.version|cut:"vers"}}{% if record.diff %}*{% endif %}

  2. {% endfor %}