{% extends "base.html" %} {% load i18n %} {% load extrafilters %} {% comment %} layerindex-web - update page Copyright (C) 2016, 2018 Intel Corporation Licensed under the MIT license, see COPYING.MIT for details {% endcomment %} {% block content %} {% autoescape on %}

{{ update.started }} {% if update.reload %}(reload){% endif %} {% if update.finished %}{% if update.retcode < 0 %}TERMINATED ({{ update.retcode }}){% elif update.retcode %}FAILED{% endif %}{% endif %}

{% if update.log %}
{{ update.log }}
{% endif %} {% for layerupdate in layerupdates %} {% with layerbranch_exists=layerupdate.layerbranch_exists %} 0 or layerupdate.retcode != 0 %} class="error"{% elif layerupdate.warnings %} class="warning"{% endif %}> {% if layerbranch_exists %}{% endif %}{{ layerupdate.layer.name }} {{ layerupdate.branch.name }}{% if layerbranch_exists %}{% endif %} {% if layerupdate.vcs_before_rev != layerupdate.vcs_after_rev %} {% if layerbranch_exists %} {% with before_url=layerupdate.vcs_before_commit_url after_url=layerupdate.vcs_after_commit_url %} {% if before_url %}{% endif %}{{ layerupdate.vcs_before_rev|truncatesimple:10 }}{% if before_url %}{% endif %} → {% if after_url %}{% endif %}{{ layerupdate.vcs_after_rev|truncatesimple:10 }}{% if after_url %}{% endif %} {% endwith %} {% else %} {{ layerupdate.vcs_before_rev|truncatesimple:10 }} → {{ layerupdate.vcs_after_rev|truncatesimple:10 }} {% endif %} {% endif %} {% endwith %} {% if layerupdate.log %} {% endif %}
{{ layerupdate.log }}
{% endfor %} {% if not update.log and not layerupdates %}

No messages or layer updates

{% endif %} {% if update.comparisonrecipeupdate_set.exists %}

Updated comparison recipes

{% endif %} {% endautoescape %} {% endblock %} {% if updates.count > 0 %}
{% for update in updates %} {% endfor %}
Date/time Errors Warnings
{% if update.log %} {{ update.started }}{% if update.update.reload %} (reload){% endif%} {% else %} {{ update.started }}{% if update.update.reload %} (reload){% endif%} {% endif %} {% if update.errors %}{{ update.errors }}{% endif %} {% if update.warnings %}{{ update.warnings }}{% endif %}
{% endif %} {% block scripts %} {% endblock %}