{% extends 'allianceauth/base.html' %} {% load evelinks %} {% load humanize %} {% load bootstrap %} {% block page_title %}Rotation {{ rotation.name }}{% endblock page_title %} {% block extra_css %} {% if rotation.is_closed %} {% endif %} {% endblock extra_css %} {% block content %}

{{ rotation.name }}

Back
{% if perms.allianceauth_pve.manage_rotations and not rotation.is_closed %}
{% endif %}
  • {% if rotation.is_closed %}

    Status

    Closed

    {% else %}

    Age

    {{ rotation.days_since }} days

    {% endif %}
  • Estimated Total

    {{ rotation.estimated_total|floatformat:0|intcomma }}

  • {% if rotation.is_closed %}
  • Actual Total

    {{ rotation.actual_total|floatformat:0|intcomma }}

  • {% endif %}
  • Tax Rate

    {{ rotation.tax_rate|floatformat }} %

Summary

{% for summary in summaries %}
{% if rotation.is_closed %} {% else %} {% endif %} {% for row in summary %} {% if row.user == user.pk and not rotation.is_closed %} {% else %} {% endif %} {% if rotation.is_closed %} {% endif %} {% if rotation.is_closed %} {% endif %} {% endfor %}
Character SetupsActual Total Estimated Total Total
{% if rotation.is_closed %} {{ row.character_name }} {% else %} {{ row.character_name }} {% endif %} {{ row.helped_setups }}{{ row.actual_total|floatformat:0|intcomma }}{{ row.estimated_total|floatformat:0|intcomma }}
{% endfor %}
{% if not rotation.is_closed %}

Entries

{% for entry in entries %} {% endfor %}
Date User Count Share Count Total After Tax Total Created By
{{ entry.created_at|date:"d/m/Y G:i e" }} {{ entry.total_user_count }} {{ entry.total_site_count }} {{ entry.estimated_total_after_tax|floatformat|intcomma }} {{ entry.estimated_total|intcomma }} {{ entry.created_by.profile.main_character.character_name }}
{% if entries.paginator.num_pages > 1 %}
    {% if entries.has_previous %}
  • «
  • 1
  • {% else %}
  • «
  • {% endif %} {% for npage in entries.paginator.page_range %} {% if npage == entries.number %}
  • {{ npage }}
  • {% elif npage > entries.number|add:"-3" and npage < entries.number|add:"3" and npage != 1 and npage != entries.paginator.num_pages %}
  • {{ npage }}
  • {% endif %} {% endfor %} {% if entries.has_next %}
  • {{ entries.paginator.num_pages }}
  • »
  • {% else %}
  • »
  • {% endif %}
{% endif %}
{% endif %} {% if perms.allianceauth_pve.manage_entries and not rotation.is_closed %} {% endif %}
{% if perms.allianceauth_pve.manage_rotations and not rotation.is_closed %} {% endif %} {% endblock content %} {% block extra_javascript %} {% if rotation.is_closed %} {% endif %} {% endblock extra_javascript %} {% block extra_script %} $(function () { $('[data-toggle="tooltip"]').tooltip() }) {% endblock extra_script %}