{% extends "list_requests.html" %} {% from "macros.html" import clipboard_button,status_color,modifier_value with context %} {% block table %}
{% for request in pager.items %}
{# TRANS: A header for a small part of the page with the details for one request. This header show the ID number of the request. #} {% trans request_id=request.id %}Request #{{ request_id }}{% endtrans %}
{# TRANS: A link to the killmail on an external killboard like zKillboard. #}
{% trans %}External Lossmail{% endtrans %}
{{ request.id }}
{# TRANS: Supporting details about the loss, like the fleet ping, a link an AAR, or what the fleet was doing. #}
{% trans %}Details{% endtrans %}
{% trans %}Details{% endtrans %}
{# TRANS: The name of the type of ship a requests is about. Ex: Tristan, Ishtar, Scimitar. #}
{% trans %}Ship{% endtrans %}
{{ request.transformed.ship_type }}
{% if request.modifiers.filter_by(voided=False).count() > 0 %} {# TRANS: A header for a list of payout modifications. These can be things like bonuses for fitting special kinds of modules or flying a special kind of ship, or penalties for fitting a ship incorrectly. #}
{% trans %}Modifiers{% endtrans %}
{% trans %}Modifiers{% endtrans %}
{% endif %} {# TRANS: A header for a list of actions performed on the request. Examples include: Marking it as Approved, Rejected, or Paid. #}
{% trans %}Actions{% endtrans %}
{{ request.actions|length|numberfmt }}
{# TRANS: A label for the division a request has been filed under. #}
{% trans %}Division{% endtrans %}
{{ request.division.name }}
{# TRANS: A label for the name of the pilot who lost a ship. #}
{% trans %}Pilot{% endtrans %}
{{ clipboard_button(request.pilot, position='top', classes='btn btn-default btn-xs') }}
{# TRANS: A label for the payout that has been set for a request. #}
{% trans %}Payout{% endtrans %}
{{ clipboard_button(request.payout|currencyfmt, position='top', classes='btn btn-default btn-xs') }}
{# TRANS: A label for the text that ill be put in the reason field of the in-game ISK transfer window. #}
{% trans %}Reason{% endtrans %}
{# TRANS: The text that will be put copied to the clipboard to be copied into the in-game ISK transfer window. #}
{{ clipboard_button(gettext('Payment for %(request_id)s', request_id=request.id), position='top', classes='btn btn-default btn-xs') }}
{{ form.id_ }} {{ form.type_(value='paid') }} {{ form.csrf_token }} {# TRANS: A button that when clicked will mark a request as having been paid out. #}
{# TRANS: The name of the user who performed an action. #} {# TRANS: The date and time an action was performed. #} {% for action in request.actions if action.type_ != ActionType.comment %} {% if action.note %} {# TRANS: The note (if there is one) associated with an action. #} {% else %} {% endif %} {% endfor %}
{% trans %}Actions{% endtrans %}{% trans %}User{% endtrans %} {% trans %}Timestamp{% endtrans %}
{{ action.type_ }} {{ action.user }}{% trans %}Note{% endtrans %}{{ action.timestamp|datetimeformat }}
{% endfor %}
{% endblock table %} {% block pager %}{% endblock pager %}