]> git.ipfire.org Git - pbs.git/commitdiff
jobs list: Mark failed builds.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Oct 2012 21:24:27 +0000 (22:24 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Oct 2012 21:24:27 +0000 (22:24 +0100)
data/templates/modules/jobs-list.html

index a7eb01a761dfe35c126a129fc4a13d669061f26d..98ccd3f5becd0fa4e0e201316655c01ed294fe6d 100644 (file)
@@ -1,7 +1,7 @@
 {% if jobs %}
        <table class="table table-striped table-hover">
                {% for job in jobs %}
-                       <tr>
+                       <tr {% if job.state in ("aborted", "failed") %}class="error"{% end %}>
                                <td>
                                        {% if job.state == "dispatching" %}
                                                <i class="icon-chevron-left"></i>