{% from "_helpers.html" import initialize_datatables %} {% macro updates_table(updates) %} {% if updates %} {% for update in updates %} {% endfor %}
Version Age Status Errata
{{ update.version }} {% if update.age %} {{ update.age|time_ago() }} ago {% else %}   {% endif %} {{ update.status }}
{{ update.karma }} karma
{% if update.status == "stable" %} {{ update.updateid }}
{% if update.date_pushed %} Pushed on {{ update.date_pushed }} {% else %} In process... {% endif %} {% elif update.status == "pending" %} {{ update.updateid }}
Pending push to {{ update.request }} {% elif update.status == "obsolete" %} {{ update.updateid }}
This update has been obsoleted. {% endif %}
{% else %}

No updates so far

{% endif %} {{ initialize_datatables() }} {% endmacro %}