{% load filters %}

<div class="iteminfo">
  {% include "lists/_byline.html" with item=run %}

  {% if run.description %}
  <p class="details">
    {{ run.description }}
  </p>
  {% endif %}

  <p class="drill">
    See related <a href="{{ 'results_runcaseversions'|filter_url:run %}" title="test cases related to {{ run.name }}">test cases</a>.
  </p>

  {% if run.start or run.end %}
    <div class="time">
      {% if run.start %}
        <p class="start">start date: <time>{{ run.start|date }}</time></p>
        {% endif %}
      {% if run.end %}
        <p class="end">end date: <time>{{ run.end|date }}</time></p>
      {% endif %}
    </div>
  {% endif %}

</div>

{% include "lists/_team.html" with team=run.team.all %}
{% include "lists/_environments.html" with environments=run.environments %}

{% load filters %}

<div class="iteminfo">
  {% include "lists/_byline.html" with item=run %}

  {% if run.description %}
  <p class="details">
    {{ run.description }}
  </p>
  {% endif %}

  <p class="drill">
    See related <a href="{{ 'results_runcaseversions'|filter_url:run }}" title="test cases related to {{ run.name }}">test cases</a>.
  </p>

  {% if run.start or run.end %}
    <div class="time">
      {% if run.start %}
        <p class="start">start date: <time>{{ run.start|date }}</time></p>
        {% endif %}
      {% if run.end %}
        <p class="end">end date: <time>{{ run.end|date }}</time></p>
      {% endif %}
    </div>
  {% endif %}

</div>

{% include "lists/_team.html" with team=run.team.all %}
{% include "lists/_environments.html" with environments=run.environments %}

Fix typo in run details template.
Fix typo in run details template.
