Revert changeset 4399683fa0, make jobset options available to project members as well

This commit is contained in:
Rob Vermaas 2012-04-17 09:49:27 +02:00
parent 4399683fa0
commit 90e0ba2a7a
2 changed files with 1 additions and 7 deletions

View file

@ -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>

View file

@ -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" %]