{% extends "base.html" %} {% set service_name = service.name %} {% block title %}{% trans %}Pick a profile{% endtrans %}{% endblock %} {% block subtitle %}{% trans service_name %}for the service {{ service_name }}{% endtrans %}{% endblock %} {% block content %}
{% for profile in profiles %}
{% if profile.status == profile.ACTIVE %}
{{ form.hidden_tag() }}
{% else %} {{ profile.STATUSES[profile.status][1] | capitalize }} {% endif %}

{{ profile.username }}

{% if profile.comment %}
{{ profile.comment }} 
{% else %}
{% trans %}No profile description{% endtrans %} 
{% endif %}
{% endfor %}
{% endblock %} {% block actions %} {% if service.policy not in ("locked",) %} {% trans %}Claim a profile{% endtrans %} {% endif %} {% if service.policy in ("open", "burst") and profiles.__len__() < service.max_profiles %} {% trans %}Create another profile{% endtrans %} {% elif service.policy in ("managed", "burst") %} {% trans %}Request another profile{% endtrans %} {% else %} {% trans %}Create another profile{% endtrans %} {% endif %} {% endblock %}