Move the "Cancel build" button to the menu

This commit is contained in:
Eelco Dolstra 2012-04-17 11:39:08 +02:00
parent ea4aba83c3
commit db09760e8c
2 changed files with 3 additions and 5 deletions

View file

@ -273,11 +273,6 @@
since [% INCLUDE renderDateTime timestamp = build.starttime %]
[% ELSE %]
<strong>Scheduled to be built</strong>
[% IF c.user_exists %]
<form action="[% c.uri_for('/build' build.id 'cancel') %]" method="post" class="inline">
<button id="cancel" type="submit">Cancel</button>
</form>
[% END %]
[% END %]
[% END -%]

View file

@ -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 %]