{% 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 perms.vm.set_resources %} {% trans "Customize" %} {% endif %}
{% csrf_token %}
{% empty %} {% if not template_access_types %} {% trans "You can't start new virtual machines because no templates are shared with you." %} {% else %} {% trans "You can't start new virtual machines because no templates are shared with you however you can request them via the form below." %}
{% include "request/_request-template-form.html" %} {% endif %} {% endfor %}
{% if templates and template_access_types %} {% url "request.views.request-template" as request_url %}

{% blocktrans with url=request_url %} Need other templates? Submit a new request. {% endblocktrans %}

{% endif %}