From f3d66437243e3c5f4e5efa66f3ce3c6717a3a3f9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 22 Jan 2013 23:05:02 +0100 Subject: [PATCH] Omit the small build status icon on the build page It's kinda pointless next to the big-ass icon. --- src/root/build.tt | 12 ++++++------ src/root/common.tt | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/root/build.tt b/src/root/build.tt index 20ecb04e..fb6cf94c 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -89,6 +89,12 @@ Build ID: [% build.id %] + + Status: + + [% INCLUDE renderStatus build=build icon=0 %] + + [% IF build.releasename %] Release name: @@ -100,12 +106,6 @@ [% build.nixname %] [% END %] - - Status: - - [% INCLUDE renderStatus build=build %] - - System: [% build.system %] diff --git a/src/root/common.tt b/src/root/common.tt index e598985f..1f254866 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -263,7 +263,7 @@ [% BLOCK renderStatus %] [% IF build.finished %] [% buildstatus = build.buildstatus %] - [% INCLUDE renderBuildStatusIcon size=16 %] + [% IF icon; INCLUDE renderBuildStatusIcon size=16; END %] [% IF buildstatus == 0 %] Success [% ELSIF buildstatus == 1 %]