forked from lix-project/hydra
Allow project members to create jobsets, regression introduced by bootstrap make-over. Currently all logged in users see these options, however, only on performing the action the privileges are checked. Need to change that in the future.
This commit is contained in:
parent
da206fdfac
commit
97d41a2102
|
@ -50,7 +50,7 @@
|
|||
<li class="divider"></li>
|
||||
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('releases'), [project.name]) title = "Releases" %]
|
||||
[% INCLUDE menuItem uri = c.uri_for('/project' project.name 'channel' 'latest') title = "Channel (latest)" %]
|
||||
[% IF c.check_user_roles('admin') %]
|
||||
[% IF c.user_exists %]
|
||||
<li class="divider"></li>
|
||||
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('create_jobset'), [project.name]) title = "Create new jobset" %]
|
||||
[% INCLUDE menuItem uri = c.uri_for('/project' project.name 'edit') title="Edit project" %]
|
||||
|
|
Loading…
Reference in a new issue