{% extends "main_django.html" %} {% load i18n configuration %} {% block title %} {% trans "Authorize" as tmsg %}{{tmsg|force_escape}} | {% platform_name %} {% endblock %} {% block body %} {% if not error %} {% trans "Authorize" as tmsg %}{{tmsg|force_escape}} {{ application.name }}? {% csrf_token %} {% for field in form %} {% if field.is_hidden %} {{ field }} {% endif %} {% endfor %} {% trans "The above application requests the following permissions from your account:" as tmsg%}{{tmsg|force_escape}} {% for scope in scopes_descriptions %} {{ scope }} {% endfor %} {% if content_orgs %} {% trans "These permissions will be granted for data from your courses associated with the following content providers:" as tmsg %}{{tmsg|force_escape}} {% for org_name in content_orgs %} {{ org_name }} {% endfor %} {% endif %} {% trans "Please click the 'Allow' button to grant these permissions to the above application. Otherwise, to withhold these permissions, please click the 'Cancel' button." as tmsg %}{{tmsg|force_escape}} {{ form.errors }} {{ form.non_field_errors }} {% trans "Cancel" as tmsg%}{{tmsg|force_escape}}{% trans "Allow" as tmsg%}{{tmsg|force_escape}} {% else %} {% trans "Error" as tmsg%}{{tmsg|force_escape}}: {{ error.error }} {{ error.description }} {% endif %} {% endblock %}
{% trans "The above application requests the following permissions from your account:" as tmsg%}{{tmsg|force_escape}}
{% trans "These permissions will be granted for data from your courses associated with the following content providers:" as tmsg %}{{tmsg|force_escape}}
{% trans "Please click the 'Allow' button to grant these permissions to the above application. Otherwise, to withhold these permissions, please click the 'Cancel' button." as tmsg %}{{tmsg|force_escape}}
{{ error.description }}