diff contrib/sawmill/web/templates/details.html @ 484:2e947f508553

sawmill: Improved HTML 4.01 transitional compat a bit. Reduce text output of inner loop to reduce overall output size of detail page.
author Sascha Teichmann <teichmann@intevation.de>
date Sat, 18 Sep 2010 10:15:45 +0000
parents 28aa6ac933fb
children a55a521b7a31
line wrap: on
line diff
--- a/contrib/sawmill/web/templates/details.html	Sat Sep 18 09:46:22 2010 +0000
+++ b/contrib/sawmill/web/templates/details.html	Sat Sep 18 10:15:45 2010 +0000
@@ -96,8 +96,7 @@
 <tr class="<%= STATUS2CLASS.get(track_item.build_status, 'error') %>">
 <td><%= STATUS2MSG.get(track_item.build_status, 'error') %></td>
 <td style="font-weight:bold;"><%= nn(track_item.track) %></td>
-<td align="right">
-<%
+<td align="right"><%
     tags = track_item.build_tags
     if tags:
         # a tag
@@ -106,12 +105,9 @@
 <%
     else:
         # not a tag
-%>
-<%= nn(track_item.revision) %>
-<%
+%><%= nn(track_item.revision) %><%
     # end if tags
-%>
-</td>
+%></td>
 <td align="right"><%= pretty_time(track_item.build_start) %></td>
 <td align="right"><%= pretty_time(track_item.build_stop) %></td>
 <td align="right"><%= pretty_timedelta(track_item.stop, track_item.build_start) %></td>
@@ -123,8 +119,7 @@
 [<a href=<%= quoteattr("%s/%s" % (base_dir, log_path)) %>><%= nn(log_desc) %></a>]
 <%
     # for all logs
-%>
-</td>
+%></td>
 </tr>
 <%
 # for all track itemes
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)