From db09760e8cde3454372f572c168a67fb3d004515 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 17 Apr 2012 11:39:08 +0200 Subject: [PATCH] Move the "Cancel build" button to the menu --- src/root/common.tt | 5 ----- src/root/topbar.tt | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/root/common.tt b/src/root/common.tt index bbf4ced3..1f900282 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -273,11 +273,6 @@ since [% INCLUDE renderDateTime timestamp = build.starttime %] [% ELSE %] Scheduled to be built - [% IF c.user_exists %] -
- -
- [% END %] [% END %] [% END -%] diff --git a/src/root/topbar.tt b/src/root/topbar.tt index 6c822120..4f9e5124 100644 --- a/src/root/topbar.tt +++ b/src/root/topbar.tt @@ -145,6 +145,9 @@ [% INCLUDE makeLink uri = c.uri_for('/build' build.id 'restart') title = "Restart build" %] + [% INCLUDE makeLink + uri = c.uri_for('/build' build.id 'cancel') + title = "Cancel build" %] [% END %] [% END %]