Allow non-admin users to see the machine status page
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
[% WRAPPER layout.tt title="All builds" _
|
||||
[% WRAPPER layout.tt title="Recent builds" _
|
||||
(job ? " for job $project.name:$jobset.name:$job.name" :
|
||||
jobset ? " for jobset $project.name:$jobset.name" :
|
||||
project ? " for project $project.name" : "") %]
|
||||
|
@ -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 %]
|
||||
|
@ -31,10 +31,10 @@
|
||||
uri = c.uri_for(c.controller('Root').action_for('queue'))
|
||||
title = "Queue ("_ nrRunningBuilds _"/"_ nrQueuedBuilds _")" %]
|
||||
[% INCLUDE makeLink
|
||||
uri = c.uri_for(c.controller(Root).action_for('status'))
|
||||
uri = c.uri_for(c.controller('Root').action_for('status'))
|
||||
title = "Active build steps" %]
|
||||
[% INCLUDE makeLink
|
||||
uri = c.uri_for(c.controller('Admin').action_for('index'))
|
||||
uri = c.uri_for(c.controller('Root').action_for('machines'))
|
||||
title = "Machine status" %]
|
||||
[% INCLUDE makeLink
|
||||
uri = c.uri_for(c.controller('Root').action_for('all'))
|
||||
|
Reference in New Issue
Block a user