From 90e0ba2a7a457c58a95179c04c311901af4a658b Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 17 Apr 2012 09:49:27 +0200 Subject: [PATCH] Revert changeset 4399683fa0e9abb64f63affc7caca7f77abea1b7, make jobset options available to project members as well --- src/root/jobset.tt | 6 ------ src/root/topbar.tt | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/root/jobset.tt b/src/root/jobset.tt index 75205214..66f2badf 100644 --- a/src/root/jobset.tt +++ b/src/root/jobset.tt @@ -130,12 +130,6 @@

Information

- [% IF !edit && c.user_exists %] -

- [ Edit | Clone ] -

- [% END %] - [% IF edit %] diff --git a/src/root/topbar.tt b/src/root/topbar.tt index 5a7a0677..6c822120 100644 --- a/src/root/topbar.tt +++ b/src/root/topbar.tt @@ -83,7 +83,7 @@ title = "Errors" %]
  • [% 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 %]
  • [% 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" %]