Move the "Cancel build" button to the menu
This commit is contained in:
parent
ea4aba83c3
commit
db09760e8c
|
@ -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 -%]
|
||||
|
||||
|
|
|
@ -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 %]
|
||||
|
|
Loading…
Reference in a new issue