Branch: refs/heads/master
Home: https://github.com/NixOS/hydra
Commit: 29b40e64184222f0a77c7c8c1de9e72d84463052
https://github.com/NixOS/hydra/commit/29b40e64184222f0a77c7c8c1de9e72d84463052
Author: Eelco Dolstra <[email protected]>
Date: 2012-04-27 (Fri, 27 Apr 2012)
Changed paths:
M src/root/build.tt
Log Message:
-----------
Fix the duration on Build pages
diff --git a/src/root/build.tt b/src/root/build.tt
index 99de759..058b4ce 100644
--- a/src/root/build.tt
+++ b/src/root/build.tt
@@ -112,14 +112,14 @@
<th>System:</th>
<td><tt>[% build.system %]</tt></td>
</tr>
- [% IF !build.finished %]
+ [% IF build.finished %]
<tr>
<th>Duration:</th>
<td>
[% IF build.iscachedbuild %]
(cached[% IF cachedBuild %] from [%
INCLUDE renderFullBuildLink build=cachedBuild %][% END %])
[% ELSE %]
- [% INCLUDE renderDuration
duration = build.stoptime - build.starttime %] <tt>finished at [% INCLUDE
renderDateTime timestamp = build.stoptime %]</tt>
+ [% INCLUDE renderDuration
duration = build.stoptime - build.starttime %] finished at [% INCLUDE
renderDateTime timestamp = build.stoptime %]
[% END %]
</td>
</tr>
================================================================
Commit: 103317872893bddda419b3a94a639a69d0688443
https://github.com/NixOS/hydra/commit/103317872893bddda419b3a94a639a69d0688443
Author: Eelco Dolstra <[email protected]>
Date: 2012-04-27 (Fri, 27 Apr 2012)
Changed paths:
M src/root/product-list.tt
Log Message:
-----------
Ensure build products are in sorted order
diff --git a/src/root/product-list.tt b/src/root/product-list.tt
index c9ddbe1..5017f03 100644
--- a/src/root/product-list.tt
+++ b/src/root/product-list.tt
@@ -8,7 +8,7 @@
<table class="productList layoutTable">
- [% FOREACH product IN build.buildproducts -%]
+ [% FOREACH product IN build.buildproducts.nsort('productnr') -%]
[% uri = "${c.uri_for('/build' build.id 'download' product.productnr)}"
_ (product.name ? "/" _ product.name : "")
================================================================
Compare: https://github.com/NixOS/hydra/compare/4a1a220...1033178
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits