{% extends 'base.html' %} {% load humanize %} {% load ui_extras %} {% block title %} Harvests {% endblock %} {% block content_header %}
{% endblock %} {% block content %}
{% for harvest in harvest_list %} {% join_stats harvest.stats harvest.status as joined_stats %} {% endfor %}
Type Requested Updated/Completed Status Stats Messages
{{ harvest.get_harvest_type_display }} {{ harvest.date_requested }} {% if harvest.status == "completed success" or harvest.status == "completed failure" %} {{ harvest.date_ended}} {% else %} {{ harvest.date_updated|naturaltime }} {% endif %} {{ harvest.get_status_display }}{{ joined_stats }} {% if harvest.message_count %}{{ harvest.message_count }} message{{harvest.message_count|pluralize}}{% endif %}
{% endblock %}