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