Skip to content

Commit

Permalink
Use colored table row background, depending on the build status
Browse files Browse the repository at this point in the history
  • Loading branch information
eht16 committed Dec 15, 2013
1 parent 154d07d commit 6b04ea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nightlybuilds/templates/nightlybuilds.html
Expand Up @@ -58,14 +58,14 @@ <h2>Geany Nightly Builds</h2>
</thead>
<tbody>
{% for build in nightlybuilds %}
<tr>
<tr class="{% if build.get_status %}success{% else %}error{% endif %}">
<td class="centered_column">{% if build.get_status %}
<img src="{{ STATIC_URL }}img/icon-yes.gif" alt="{{ build.get_status_text }}" title="{{ build.get_status_text }}" />
{% else %}
<img src="{{ STATIC_URL }}img/icon-no.gif" alt="{{ build.get_status_text }}" title="{{ build.get_status_text }}" />
{% endif %}
</td>
<td>{{ build.nightly_build_target.project }}</td>
<td>{{ build.nightly_build_target.project|capfirst }}</td>
<td>{{ build.revision }}</td>
<td>{{ build.nightly_build_target.name }}</td>
<td><span title="Build host: {{ build.build_host }}">{{ build.nightly_build_target.arch }}</span></td>
Expand Down

0 comments on commit 6b04ea2

Please sign in to comment.