1 {% extends
"menu_base.html" %}
5 <script type=
"text/javascript" src=
"{{STATIC_URL}}/js/jquery.tablesorter.min.js"></script>
7 {% block title %} {%trans
"Errors" %} {% endblock %}
10 <div id=
"errors_list">
11 <h2>Errors and Failures
</h2>
12 <table class=
"sorted">
14 <th>{% trans
"Object" %}
</th>
15 <th>{% trans
"Error Message" %}
</th>
16 <th>{% trans
"Date" %}
</th>
20 {% for tuple in errors %}
21 {% with tuple
.0 as is_ganeti_error %}
22 {% with tuple
.1 as error %}
23 {% if is_ganeti_error %}
24 <tr class=
"gerror" id=
"gerror_{{error.pk}}">
25 <td>{% include
"ganeti/overview/object_link.html" with record=error %}
</td>
26 <td>{{ error.msg }}
</td>
27 <td>{{ error.timestamp|date }}
</td>
30 <tr class=
"jerror" id=
"jerror_{{error.pk}}">
31 <td>{% include
"ganeti/overview/object_link.html" with record=error %}
</td>
32 <td><a href=
"{% url job-detail error.cluster.slug error.job_id %}">{% trans
"Job" noop %}#{{error.job_id}}: {{ error.current_operation|format_job_op }}
</a></td>
33 <td>{{ error.finished|date }}
</td>