From 97c76f34df600b2b1d4fba06088b41a4765579a9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 3 Oct 2013 15:14:40 +0200 Subject: [PATCH] Remove more dead code --- src/root/common.tt | 14 -------------- src/root/job.tt | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/root/common.tt b/src/root/common.tt index a3301426..b99e3408 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -67,9 +67,6 @@ BLOCK renderBuildListHeader %] Release name System [% IF showSchedulingInfo %]Queued at[% ELSE %]Finished at[% END %] - [% IF showStatusChange %] - Last status change - [% END %] [% IF showDescription %] Description [% END %] @@ -100,17 +97,6 @@ BLOCK renderBuildListBody; [% !showSchedulingInfo and build.get_column('releasename') ? build.get_column('releasename') : build.nixname %] [% build.system %] [% t = showSchedulingInfo ? build.timestamp : build.stoptime; IF t; date.format(showSchedulingInfo ? build.timestamp : build.stoptime, '%Y-%m-%d %H:%M:%S'); ELSE; "-"; END %] - [% IF showStatusChange %] - - [% IF build.get_column('statusChangeTime') %] - - [% date.format(build.get_column('statusChangeTime'), '%Y-%m-%d %H:%M:%S') %] - - [% ELSE %] - never - [% END %] - - [% END %] [% IF showDescription %] [% build.description %] [% END %] diff --git a/src/root/job.tt b/src/root/job.tt index 10c719a5..a4d0dc43 100644 --- a/src/root/job.tt +++ b/src/root/job.tt @@ -15,7 +15,7 @@
[% IF lastBuilds.size != 0 %]

Lastest builds

- [% INCLUDE renderBuildList builds=lastBuilds showStatusChange=0 + [% INCLUDE renderBuildList builds=lastBuilds linkToAll=c.uri_for('/job' project.name jobset.name job.name 'all') %] [% END %] [% IF queuedBuilds.size != 0 %]