{% extends 'developers/base_impala.html' %} {% set title = _('Issue Refund') %} {% block title %}{{ hub_page_title(title) }}{% endblock %} {# TODO(apps): Finalize copy. #} {% block content %}
{{ hub_breadcrumbs(addon, items=[(addon.get_dev_url('refunds'), _('Manage Refunds')), (None, title)]) }}

{{ title }}

{% if transaction_id and enabled %} {{ csrf() }}

{% with user=contribution.user.display_name, user_url=contribution.user.get_url_path(), addon_url=addon.get_url_path(), addon_name=addon.name %} A refund was requested by {{ user }} for {{ addon_name }}. {% endwith %}

{% with price=contribution.get_amount_locale() %} Price: {{ price }} {% endwith %}

{% with purchase_date=contribution.created|datetime %} Purchase date: {{ purchase_date }} {% endwith %}

{% else %}

{{ _('No refundable transaction found.') }}

{% endif %}
{% endblock %}