forked from lix-project/hydra
Restructure build menu
This commit is contained in:
parent
9a1f38e06e
commit
6b65712045
|
@ -110,6 +110,7 @@
|
||||||
[% INCLUDE makeLink
|
[% INCLUDE makeLink
|
||||||
uri = '#'
|
uri = '#'
|
||||||
title = "Related builds" %]
|
title = "Related builds" %]
|
||||||
|
[% IF c.user_exists %]
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
[% INCLUDE makeLink
|
[% INCLUDE makeLink
|
||||||
uri = c.uri_for('/build' build.id 'clone')
|
uri = c.uri_for('/build' build.id 'clone')
|
||||||
|
@ -124,7 +125,6 @@
|
||||||
uri = c.uri_for('/build' build.id 'keep' 1)
|
uri = c.uri_for('/build' build.id 'keep' 1)
|
||||||
title = "Keep build" %]
|
title = "Keep build" %]
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% 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" %]
|
||||||
|
@ -132,6 +132,8 @@
|
||||||
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
|
[% END %]
|
||||||
|
|
||||||
[% IF c.user_exists %]
|
[% IF c.user_exists %]
|
||||||
[% IF c.check_user_roles('admin') %]
|
[% IF c.check_user_roles('admin') %]
|
||||||
[% WRAPPER makeSubMenu title="Admin" %]
|
[% WRAPPER makeSubMenu title="Admin" %]
|
||||||
|
|
Loading…
Reference in a new issue