{% extends "base.html" %} {% set colors = ['blue', 'green', 'orange', 'teal', 'red', 'purple', 'maroon'] %} {% 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 == "active" %}
{{ form.hidden_tag() }}
{% elif profile.status == "blocked" %} {% trans %}Blocked{% endtrans %} {% elif profile.status == "request" %} {% trans %}Awaiting approval{% endtrans %} {% endif %}

{{ profile.username }}

{{ profile.comment or "No profile description" }} 
{% endfor %}
{% call macros.help(_("Here come profiles!"), auto=utils.display_help("main")) %} {% set max_profiles = service.max_profiles %}

{% trans %}This service relies on profiles, which are just as many identities that you can have with your single account.{% endtrans %}

{% trans %}You may think of profiles as a way to switch between a personal and a business account, or to use the service under different identities for diffrent activities.{% endtrans %}

{% trans %}Profiles were introduced in order to offer flexibility and security against stalkers and other sorts of online violence.{% endtrans %}

{% if service.policy == "locked" %}

{% trans %}However, profile creation on this services are currently locked down. You may only use existing profiles if you have some.{% endtrans %}

{% elif service.policy == "reserved" %}

{% trans %}This service is not currently open for profile registration. In order to get new profiles, you must ask a service administrator.{% endtrans %}

{% elif service.policy == "managed" %}

{% trans %}You may request new profiles. Your requests will be submitted to validation.{% endtrans %}

{% elif service.policy == "burst" %}

{% trans %}You may create up to {{ max_profiles }} profiles. Further profile requests will be submitted to validation.{% endtrans %}

{% elif service.policy == "open" %}

{% trans %}You may create up to {{ max_profiles }} profiles. Please contact the service administrator if you have any specific needs.{% endtrans %}

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