{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Review application" %} #{{ application.pk }}{% endblock %} {% block content %}

{% trans "Review application" %} #{{ application.pk }} {% trans "by" %} {{ application.applicant }}

{% trans "Submitted" %} {{ application.filed|date }}

{% if application.is_pending %}
{% csrf_token %}
{% trans "Instance information" %}
{{ appform.hostname.label_tag }}{{ appform.hostname }}{{ appform.hostname.errors|join:", " }}
{{ appform.memory.label_tag }}{{ appform.memory }}{{ appform.memory.errors|join:", " }}
{{ appform.vcpus.label_tag }}{{ appform.vcpus }}{{ appform.vcpus.errors|join:", " }}
{{ appform.disk_size.label_tag }}{{ appform.disk_size }}{{ appform.disk_size.errors|join:", " }}
{{ appform.organization.label_tag }}{{ appform.organization }}{{ appform.organization.errors|join:", " }}
{{ appform.hosts_mail_server.label_tag }}{{ appform.hosts_mail_server }}{{ appform.hosts_mail_server.errors|join:", " }}
{{ appform.operating_system.label_tag }}{{ appform.operating_system }}{{ appform.operating_system.errors|join:", " }}
{% if application.admin_contact_name %}
{% trans "Administrative contact" %}
{% trans "Name" %}{{ application.admin_contact_name }}
{% trans "Email" %}{{ application.admin_contact_email }}
{% trans "Phone" %}{{ application.admin_contact_phone }}
{% endif %}
{% trans "Comments" %}
{{ application.comments }}
{% trans "Placement" %} {% if application.network %}
{% trans "The user has requested explicit network placement on" %} {{ application.network }} ({{ application.network.cluster.description }})
{% endif %}

{% trans "Choose either a network, or a cluster from the quick list to use the cluster's default network." %}

{% trans "Network" %}: {{ appform.network }}

{% if appform.network.errors %}

{{ appform.network.errors|join:", " }}

{% endif %}

{% for cl in fast_clusters %}{{ cl.description }} ({{ cl.slug }}) {% if not forloop.last %}| {% endif %}{% endfor %}

{% trans "Decision" %}

{% trans "Comments to the user" %}:

{% if appform.admin_comments.errors %}

{{ appform.admin_comments.errors }}

{% endif %}

{{ appform.admin_comments }}

{% else %}
{% trans "Instance information" %}
{{ appform.hostname.label_tag }}{{ application.hostname }}
{{ appform.memory.label_tag }}{{ application.memory }}
{{ appform.vcpus.label_tag }}{{ application.vcpus }}
{{ appform.disk_size.label_tag }}{{ application.disk_size }}
{{ appform.organization.label_tag }}{{ application.organization }}
{{ appform.hosts_mail_server.label_tag }}{{ application.hosts_mail_server }}
{{ appform.operating_system.label_tag }}{{ application.operating_system }}
{% if application.admin_contact_name %}
{% trans "Administrative contact" %}
{% trans "Name" %}{{ application.admin_contact_name }}
{% trans "Email" %}{{ application.admin_contact_email }}
{% trans "Phone" %}{{ application.admin_contact_phone }}
{% endif %}
{% trans "Comments" %}
{{ application.comments }}
{% trans "Placement" %}

{% trans "The instance has been placed on" %} {{ application.network }} ({{ application.cluster.description }})

{% endif %}
{% endblock %}