{% extends "base.html" %} {% load i18n %} {% load translations %} {% load authnames %} {% load crispy_forms_tags %} {% block breadcrumbs %}
  • {% trans "Your profile" %}
  • {% endblock %} {% block content %} {% if form.errors or userform.errors or subscriptionform.errors %} {% show_message "error" _("Please fix errors in the form.") %} {% endif %}
    {% csrf_token %}

    {% trans "Languages" %}

    {{ form|crispy }}

    {% trans "Preferences" %}

    {{ usersettingsform|crispy }} {{ dashboardsettingsform|crispy }}
    {% if managed_projects %}

    {% trans "Managed projects" %}

    {% for project in managed_projects %} {{ project }} {% endfor %}

    {% trans "You will automatically receive important notifications on managed projects." %}

    {% endif %}

    {% trans "Watched projects" %}

    {% crispy subscriptionform %}

    {% trans "Account" %}

    {{ userform|crispy }}

    {% trans "User identities" %}

    {% trans "You can manage identities which are associated to this account and which can be used to log in." %}

    {% trans "Currently associated:" %}

    {% for assoc in associated %} {% endfor %}
    {% trans "Identity" %} {% trans "User ID" %} {% trans "Action" %}
    {% trans "Password" %} {{ request.user.username }} {% if request.user.has_usable_password %}{% trans "Change password" %}{% else %}{% trans "Set password" %}{% endif %}
    {% auth_name assoc.provider '' ' ' %} {{ assoc.uid }} {% if associated.count > 1 %} {% trans "Disconnect" %} {% endif %}
    {% if new_backends %}

    {% trans "Add new association:" %}

    {% for name in new_backends %} {% auth_name name %} {% endfor %} {% endif %}

    {% trans "Removal" %}

    {% trans "Removal of the account deletes all your private data." %}

    {% trans "Your summary" %}

    {% with request.user as user %} {% include 'user-activity.html' %} {% endwith %} {% url 'user_page' user=request.user.username as user_page%}
    {% trans "Your public profile" %} {{ user_page }}
    {% if enable_avatars %} {% endif %}

    {% trans "API access" %}

    {% trans "Your personal API key:" %} {{ user.auth_token.key }} {% trans "Regenerate" %}
    {% trans "API root URL:" %} {{ site_url }}{% url 'api:api-root' %}
    {% trans "API usage example:" %}
    curl \
        -H "Authorization: Token {{ user.auth_token.key }}" \
        {{ site_url }}{% url 'api:api-root' %}
    

    {% trans "Licenses" %}

    {% trans "By registering you agree to use your name and email in the commits and provide your contribution under license defined by each translated project." %}

    {% if licenses %}

    {% trans "Following translations have explicitly specified their licensing and copyright conditions:" %}

    {% for component in licenses %} {% endfor %}
    {% trans "Project" %}{% trans "License" %}
    {{ component }} {% if component.license_url %} {{ component.license }}

    {% else %} {{ component.license }} {% endif %}
    {% endif %}
    {% if user.billing %} {% with user.billing as billing %}
    {% include "billing/detail.html" %}

    {% trans "Invoices" %}

    {% for invoice in billing.invoice_set.all %} {% empty %} {% endfor %}
    {% trans "Invoice period" %} {% trans "Invoice amount" %} {% trans "Download invoice" %}
    {{ invoice.start|date:"SHORT_DATE_FORMAT" }} - {{ invoice.end|date:"SHORT_DATE_FORMAT" }} {{ invoice.payment }} {{ invoice.get_currency_display }} {% if invoice.ref %} {{ invoice.filename }} {% else %} {% trans "Not available" %} {% endif %}
    {% trans "No invoices found!" %}
    {% endwith %} {% endif %}
    {% csrf_token %}
    {% endblock %}