{% extends 'layouts/base.html' %} {% load i18n %} {% load pyaa %} {% block content %} {% url 'account_profile' as url_account_profile %}

{% translate "title.account-credits" %}

{% if page_obj %}
{% for credit in page_obj %}

{{ credit.get_description }}

{% translate "model.field.created-at" %}: {{ credit.created_at }}

{% translate "model.field.amount" %}: {% if credit.amount > 0 %} +{{ credit.amount }} {% else %} {{ credit.amount }} {% endif %}

{% endfor %}
{% include 'partials/paginator.html' %} {% else %} {% include 'partials/empty_data.html' %} {% endif %}
{% translate "button.back" %}
{% endblock content %}