##// END OF EJS Templates
auth: expose a option to calculate how we end up having super-admin permission....
auth: expose a option to calculate how we end up having super-admin permission. This is now used only for visual display. The old way is still faster for permissions calculation. - the extended way will be used in permission summary showing a much more detailed permission summary for super-admins.

File last commit:

r1282:90601d74 default
r2065:adc2d1ca default
Show More
settings_supervisor.mako
27 lines | 786 B | application/x-mako | MakoHtmlLexer
%if c.connection_error:
<h4>Cannot connect to supervisor: ${c.connection_error}</h4>
%else:
<table class="rctable supervisor">
<tr>
<th>Name</th>
<th>Description</th>
<th>State</th>
</tr>
% for proc,vals in c.supervisor_procs.items():
<tr>
%if vals.get('_rhodecode_error'):
<td>${proc}</td>
<td>${vals['_rhodecode_error']}</td>
<td></td>
%else:
<td class="td-componentname"><a href="${h.url('admin_settings_supervisor_log', procid=proc, offset=c.log_size)}">${vals['name']}</a></td>
<td class="td-description">${vals['description']}</td>
<td class="td-state">${vals['statename']}</td>
%endif
##<td class="td-action"> start | stop | restart</td>
</tr>
% endfor
</table>
%endif