Commit 077f3ce8 by Kálmán Viktor

dashboard: fix vm detail node info

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