Commit b5a3a6a5 authored by Daniele Venzano's avatar Daniele Venzano

Show owner information for services in status page

parent 7d1e6730
......@@ -279,10 +279,11 @@
{% if service.backend_status == "started" %}
<td class="{{ 'running' if service.essential }}">
{% if user.role.can_operate_others %}
<a href="{{ reverse_url('execution_inspect', service['execution_id']) }}">{{ service['execution_id'] }}:{{ service['name'] }}</a>
<a href="{{ reverse_url('execution_inspect', service['execution_id']) }}">{{ service['execution_id'] }}&nbsp;{{ service['name'] }}</a><br>
{% else %}
{{ service['name'] }}
{{ service['execution_id'] }}&nbsp;{{ service['name'] }}<br>
{% endif %}
{{ service.execution.owner }}<br>
(M: <script>format_bytes({{ node.service_stats[service['id']]['mem_limit'] }});</script> C: {{ '%0.2f'|format(node.service_stats[service['id']]['core_limit']|float) }})
</td>
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment