{% if show_last_events %}
<strong>{{ last_events_title }}</strong>
<div>
  <dl>
    {% for event in last_events %}
    <dd>
      <time datetime="{{ event.event_time }}">{{ event.event_time }}</time>
      <br />
      {{ event.resource_name }} |
      {{ event.resource_status }} |
      {{ event.resource_status_reason }}
    </dd>
    <br />
    {% endfor %}
  </dl>
</div>
<p><a href="{% url 'horizon:infrastructure:history:index' %}">See full log</a></p>
{% endif %}
