diff --git a/instances/templates/instance.html b/instances/templates/instance.html index 4b3df9ad..7cca6f16 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -20,17 +20,22 @@

{{ instance.name }}

{% vm_state instance.status as state %} {{ state.0 }} + {% if instance.is_template %}{% trans "Template" %}{% endif %} {% if instance.title %}

{{ instance.title }}

{% endif %} {% include 'instances/host_link.html' %}
+ {% if instance.is_template and can_clone %} + + {% endif %} {% if instance.guest_agent_ready %} {% endif %} {% bs_icon 'arrow-clockwise' %} {% trans "Refresh" %}
+ {% if not instance.is_template %}
{% if not instance.guest_agent %} {% bs_icon 'dash-circle' %} {% trans "Guest agent off" %} @@ -41,6 +46,7 @@ {% endif %} {% bs_icon 'camera' %} {% blocktrans count counter=instance.snapshots|length %}{{ counter }} snapshot{% plural %}{{ counter }} snapshots{% endblocktrans %}
+ {% endif %}
{% trans "CPU" %}
@@ -54,24 +60,29 @@
{% trans "Disks" %}
{% for disk in instance.disks %}{{ disk.dev }} {{ disk.size|filesizeformat }}{% if not forloop.last %} · {% endif %}{% empty %}{% trans "None" %}{% endfor %}
+ {% if not instance.is_template %}
{% trans "IPv4" %}
{{ ipv4_addresses|join:", "|default:"—" }}
+ {% endif %}