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>
<a href="{{ instance.node.get_absolute_url }}"> {% if instance.node %}
{{ instance.node.name }} <a href="{{ instance.node.get_absolute_url }}">
</a> {{ instance.node.name }}
</a>
{% else %}
-
{% endif %}
</dd> </dd>
{% else %}
-
{% endif %}
{% 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