[geany/www.geany.org] 6b04ea: Use colored table row background, depending on the build status

Enrico Tröger git-noreply at xxxxx
Sun Jan 5 18:48:49 UTC 2014


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sun, 15 Dec 2013 18:58:31 UTC
Commit:      6b04ea2bb8195e411fbcc22f759befd54dea2bec
             https://github.com/geany/www.geany.org/commit/6b04ea2bb8195e411fbcc22f759befd54dea2bec

Log Message:
-----------
Use colored table row background, depending on the build status


Modified Paths:
--------------
    nightlybuilds/templates/nightlybuilds.html

Modified: nightlybuilds/templates/nightlybuilds.html
4 files changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -58,14 +58,14 @@
 </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>



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list