{% if instance.node and not instance.node.online %}
{% if user.is_superuser %}
{% blocktrans with name=instance.node.name %}
The node {{ name }} is missing.
{% endblocktrans %}
{% else %}
{% trans "Currently you cannot execute any operations because the virtual machine's node is missing." %}
{% endif %}
{% endif %}
{{ instance.get_status_display|upper }}
{% trans "Connection details" %}
{% trans "Protocol" %}
{{ instance.access_method|upper }}
{% trans "Host" %}
{% if instance.get_connect_port %}
{{ instance.get_connect_host }}:{{ instance.get_connect_port }}
{% elif instance.interface_set.count < 1%}
{% trans "The VM doesn't have any network interface." %}
{% else %}
{% trans "The required port for this protocol is not forwarded." %}
{% endif %}
{% if instance.ipv6 and instance.get_connect_port %}