forked from lix-project/hydra
Revert changeset 4399683fa0
, make jobset options available to project members as well
This commit is contained in:
parent
4399683fa0
commit
90e0ba2a7a
|
@ -130,12 +130,6 @@
|
||||||
<div id="tabs-setup" class="tab-pane [% IF edit %]active[% END %]">
|
<div id="tabs-setup" class="tab-pane [% IF edit %]active[% END %]">
|
||||||
<h2>Information</h2>
|
<h2>Information</h2>
|
||||||
|
|
||||||
[% IF !edit && c.user_exists %]
|
|
||||||
<p>
|
|
||||||
[ <a href="[% c.uri_for('/jobset' project.name jobset.name 'edit') %]">Edit</a> | <a href="[% c.uri_for('/jobset' project.name jobset.name 'clone') %]">Clone</a> ]
|
|
||||||
</p>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
<table class="layoutTable">
|
<table class="layoutTable">
|
||||||
[% IF edit %]
|
[% IF edit %]
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
title = "Errors" %]
|
title = "Errors" %]
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
[% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'channel' 'latest') title = "Channel (latest)" %]
|
[% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'channel' 'latest') title = "Channel (latest)" %]
|
||||||
[% IF c.check_user_roles('admin') %]
|
[% IF c.user_exists %]
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
[% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'clone') title="Clone jobset" %]
|
[% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'clone') title="Clone jobset" %]
|
||||||
[% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'edit') title="Edit jobset" %]
|
[% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'edit') title="Edit jobset" %]
|
||||||
|
|
Loading…
Reference in a new issue