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