Make the hide/unhide actions a checkbox in the project settings

Also use proper bootstrap layout for the project settings form.
This commit is contained in:
Eelco Dolstra
2013-02-21 01:45:39 +01:00
parent 3924780eac
commit 9c7b416f8b
3 changed files with 70 additions and 79 deletions

View File

@ -52,11 +52,6 @@
[% IF c.user_exists %]
<li class="divider"></li>
[% INCLUDE menuItem uri = c.uri_for('/project' project.name 'edit') title="Edit" %]
[% IF project.hidden %]
[% INCLUDE menuItem uri = c.uri_for('/project' project.name 'unhide') title = "Unhide" %]
[% ELSE %]
[% INCLUDE menuItem uri = c.uri_for('/project' project.name 'hide') title = "Hide" %]
[% END %]
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('create_jobset'), [project.name]) title = "Create jobset" %]
[% END %]
[% END %]