{% extends "dashboard/base.html" %} {% load staticfiles %} {% load i18n %} {% load render_table from django_tables2 %} {% block title-page %}{% trans "Templates" %}{% endblock %} {% block content %}
{% trans "new template" %}

{% trans "Templates" %}

{% render_table table %}
{% if show_lease_table %}
{% if perms.vm.create_leases %} {% trans "new lease" %} {% endif %}

{% trans "Leases" %}

{% render_table lease_table %}

{% trans "Rarely used templates" %}

{% trans "Never instantiated" %}
{% include "dashboard/_list-templates.html" with templates=unused_templates.never_instantiated %}
{% trans "Templates without running instances" %}
{% include "dashboard/_list-templates.html" with templates=unused_templates.templates_wo_instances %}
{% trans "Templates without instances, last instance created more than 90 days ago" %}
{% include "dashboard/_list-templates.html" with templates=unused_templates.templates_wo_instances_90 %}
{% trans "Templates without instances, last instance created more than 180 days ago" %}
{% include "dashboard/_list-templates.html" with templates=unused_templates.templates_wo_instances_180 %}
{% endif %} {% endblock %}