{% load sizefieldtags %} {% load i18n %}
{% for t in templates %}
{{ t.name }} {{ t.system }}
  • {% trans "CPU" %}
    {{ t.num_cores }} cores
  • {% trans "Memory" %}
    {{ t.ram_size }} MB
  • {% trans "Disks" %} {% for d in t.disks.all %}{{ d.name }} ({% if d.size %}{{ d.size|filesize }}{% endif %}){% if not forloop.last %}, {% endif %}{% endfor %}
  • {% trans "Network" %} {% for i in t.interface_set.all %}{{ i.vlan.name }}{% if not forloop.last %}, {% endif %}{% endfor %}
  • {% trans "Type" %}: {{ t.lease.name }} {{ t.lease.get_readable_suspend_time }} {{ t.lease.get_readable_delete_time }}
  • {% trans "Description" %}: {{ t.description }}
{% if user.is_superuser %} {% trans "Customize" %} {% endif %}
{% csrf_token %}
{% endfor %}
{% block "extra-js" %} {% endblock %}