Commit 077f3ce8 by Kálmán Viktor

dashboard: fix vm detail node info

parent 8b6f79aa
......@@ -92,17 +92,18 @@
</div><!-- id:vm-details-tags -->
{% if request.user.is_superuser %}
<dl>
<dt>Node:</dt>
{% if instance.node %}
<dt>{% trans "Node" %}:</dt>
<dd>
{% if instance.node %}
<a href="{{ instance.node.get_absolute_url }}">
{{ instance.node.name }}
</a>
</dd>
{% else %}
-
{% endif %}
</dd>
{% endif %}
</dl>
<dl>
<dt>{% trans "Template" %}:</dt>
<dd>
......
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 sign in to comment