forked from lix-project/hydra
Restructure build menu
This commit is contained in:
parent
9a1f38e06e
commit
6b65712045
|
@ -110,24 +110,26 @@
|
||||||
[% INCLUDE makeLink
|
[% INCLUDE makeLink
|
||||||
uri = '#'
|
uri = '#'
|
||||||
title = "Related builds" %]
|
title = "Related builds" %]
|
||||||
<li class="divider"></li>
|
[% IF c.user_exists %]
|
||||||
[% INCLUDE makeLink
|
<li class="divider"></li>
|
||||||
uri = c.uri_for('/build' build.id 'clone')
|
|
||||||
title = "Clone build" %]
|
|
||||||
[% IF !available %]
|
|
||||||
[% ELSIF build.keep %]
|
|
||||||
[% INCLUDE makeLink
|
[% INCLUDE makeLink
|
||||||
uri = c.uri_for('/build' build.id 'keep' 0)
|
uri = c.uri_for('/build' build.id 'clone')
|
||||||
title = "Unkeep build" %]
|
title = "Clone build" %]
|
||||||
[% ELSE %]
|
[% IF !available %]
|
||||||
|
[% ELSIF build.keep %]
|
||||||
|
[% INCLUDE makeLink
|
||||||
|
uri = c.uri_for('/build' build.id 'keep' 0)
|
||||||
|
title = "Unkeep build" %]
|
||||||
|
[% ELSE %]
|
||||||
|
[% INCLUDE makeLink
|
||||||
|
uri = c.uri_for('/build' build.id 'keep' 1)
|
||||||
|
title = "Keep build" %]
|
||||||
|
[% END %]
|
||||||
[% INCLUDE makeLink
|
[% INCLUDE makeLink
|
||||||
uri = c.uri_for('/build' build.id 'keep' 1)
|
uri = c.uri_for('/build' build.id 'restart')
|
||||||
title = "Keep build" %]
|
title = "Restart build" %]
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% INCLUDE makeLink
|
|
||||||
uri = c.uri_for('/build' build.id 'restart')
|
|
||||||
title = "Restart build" %]
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
Loading…
Reference in a new issue