forked from lix-project/hydra
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 %]
|
since [% INCLUDE renderDateTime timestamp = build.starttime %]
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
<strong>Scheduled to be built</strong>
|
<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 %]
|
||||||
[% END -%]
|
[% END -%]
|
||||||
|
|
||||||
|
|
|
@ -145,6 +145,9 @@
|
||||||
[% INCLUDE makeLink
|
[% INCLUDE makeLink
|
||||||
uri = c.uri_for('/build' build.id 'restart')
|
uri = c.uri_for('/build' build.id 'restart')
|
||||||
title = "Restart build" %]
|
title = "Restart build" %]
|
||||||
|
[% INCLUDE makeLink
|
||||||
|
uri = c.uri_for('/build' build.id 'cancel')
|
||||||
|
title = "Cancel build" %]
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
Loading…
Reference in a new issue