Allow non-admin users to see the machine status page

This commit is contained in:
Eelco Dolstra
2013-02-20 16:40:09 +01:00
parent 656b1bd45a
commit 7da2398f27
6 changed files with 20 additions and 30 deletions

View File

@ -36,12 +36,4 @@
<p><a class="btn" href="[% c.uri_for(c.controller('Admin').action_for('create_machine')) %]"><i class="icon-plus"></i> Add a new machine</a></p>
<p>
Resulting <tt>/etc/nix.machines</tt> [% IF nixMachinesWritable == 0 %](note: file is not writable!)[% END%]:
</p>
<pre>
[% nixMachines %]
</pre>
[% END %]