{% extends "dashboard/base.html" %} {% load staticfiles %} {% load i18n %} {% load sizefieldtags %} {% load crispy_forms_tags %} {% block title-page %}{{ form.name.value }} | {% trans "template" %}{% endblock %} {% block content %}
{% trans "Back" %}

{% trans "Edit template" %}

{% with form=form %} {% include "display-form-errors.html" %} {% endwith %} {% csrf_token %} {{ form.name|as_crispy_field }} {% trans "Parent template" %}: {% if parent %} {{ parent.name }} {% else %} - {% endif %}
{% trans "Resource configuration" %} {% include "dashboard/_resources-sliders.html" with field_priority=form.priority field_num_cores=form.num_cores field_ram_size=form.ram_size %} {{ form.max_ram_size|as_crispy_field }}
{% trans "Virtual machine settings" %} {{ form.arch|as_crispy_field }} {{ form.access_method|as_crispy_field }} {{ form.boot_menu|as_crispy_field }} {{ form.raw_data|as_crispy_field }} {{ form.req_traits|as_crispy_field }} {{ form.description|as_crispy_field }} {{ form.system|as_crispy_field }} {{ form.has_agent|as_crispy_field }}
{% trans "External resources" %} {{ form.networks|as_crispy_field }} {{ form.lease|as_crispy_field }} {{ form.tags|as_crispy_field }}
{% if is_owner %}
{% trans "Delete" %}

{% trans "Delete template" %}

{% endif %}

{% trans "Owner" %}

{% if user == object.owner %} {% blocktrans %}You are the current owner of this template.{% endblocktrans %} {% else %} {% url "dashboard.views.profile" username=object.owner.username as url %} {% blocktrans with owner=object.owner name=object.owner.get_full_name%} The current owner of this template is {{name}} ({{owner}}). {% endblocktrans %} {% endif %} {% if user == object.owner or user.is_superuser %} {% trans "Transfer ownership..." %} {% endif %}

{% trans "Manage access" %}

{% include "dashboard/_manage_access.html" with table_id="template-access-table" %}

{% trans "Access level rights" %}

{% trans "User" %}
{% blocktrans %} User can deploy instances from this template. {% endblocktrans %}
{% trans "Operator" %}
{% blocktrans %} Operators are able to deploy and grant/revoke User level access to this template. {% endblocktrans %}
{% trans "Owner" %}
{% blocktrans %} Owners can edit attributes or delete the template. Owners are able to grant/revoke User, Operator and Owner level access to the template. The accountable owner (the one who created the template) can not be demoted. The accountable ownership can be transferred to other User via the "Transfer onwership" button. {% endblocktrans %}

{% trans "Disk list" %}

{% if show_graph %}

{% trans "Graphs" %}

{% include "dashboard/_graph-time-buttons.html" %}
{% if request.user.is_superuser %} {% trans "List all template instances" %} {% endif %}
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}