{% extends "fightlog/base.html" %} {% load i18n static fightlog %} {% block fightlog_title %}{{ fight.title }}{% endblock %} {% block fightlog_css %} {% include "bundles/datatables-2-css-bs5.html" %} {% endblock %} {% block fightlog_content %}

{{ fight.title }}

{{ fight.start_at|date:"Y-m-d H:i:s" }} – {{ fight.end_at|date:"H:i:s" }} EVE · {{ fight.duration_seconds|duration }} · {% translate "System" %}: {% if fight.system %}{{ fight.system.name }} ({{ fight.system.region_name }}) {{ fight.get_system_source_display }} {% elif fight.system_source == "wspace_unknown" %}J-space, system unknown {% else %}{% translate "unknown" %}{% endif %} · {{ summary.logs|default:0 }} {% translate "logs" %} {% if summary.coverage %}· {% blocktranslate with a=summary.coverage.logged b=summary.coverage.pilots %}{{ a }} of {{ b }} friendly pilots uploaded{% endblocktranslate %}{% endif %}
{% for tag in fight.tags.all %}#{{ tag.name }}{% endfor %}
{% for side in sides %}
{{ side.name }}: {{ summary.pilots|get_item:side.pk|default:0 }} {% translate "pilots" %}, {{ summary.losses|get_item:side.pk|default:0 }} {% translate "lost" %} ({{ summary.isk_lost|get_item:side.pk|default:0|isk }} ISK)
{% endfor %}
{% if not fight.is_built %}
{% translate "This fight is being rebuilt with new data. The page refreshes when it's ready." %}
{% endif %} {% if fight.notes %}
{{ fight.notes|linebreaksbr }}
{% endif %}
{% translate "Click a point on the chart to see the events in that bucket. Drag across the chart to zoom the whole page into that time window." %}
{% translate "Targets" %}
{% translate "Logs" %} — {% translate "toggles only change your view" %}
{% for log in logs %} {% endfor %}
{% translate "Listener" %}{% translate "Uploaded by" %}{% translate "Events" %}{% translate "Clock" %}
{{ log.listener_name }}{% if log.excluded %} {% translate "excluded" %}{% endif %} {% if log.warnings %}{{ log.warnings|length }} {% translate "warnings" %}{% endif %} {{ log.uploader_names }} {{ log.matched_lines }}/{{ log.combat_lines }} {{ log.clock_offset }}s {% if can_edit %}
{% csrf_token %} {% if not log.excluded %}{% endif %}
{% endif %}
{% translate "Kills" %}
{% for link in kills %}
{{ link.killmail.time|date:"H:i:s" }} · {% if link.victim_participant %}{{ link.victim_participant.name }}{% else %}#{{ link.killmail.victim_character_id|default:"?" }}{% endif %} · {{ link.killmail.total_value|isk }} ISK {% if link.role == "related" %}{% translate "related" %}{% endif %} · zKill
{% empty %} {% if fight.zkb_checked_at %}{% translate "No killmails found on zKillboard." %}{% else %}{% translate "Not checked on zKillboard yet." %}{% endif %} {% endfor %}
{% if unknown_actors %}
{% translate "Unattributed actors" %} — {% translate "ship-only labels nobody could be matched to" %}
{% for actor in unknown_actors %}
{{ actor.name }} ({% if actor.side %}{{ actor.side.name }}{% else %}{% translate "unknown side" %}{% endif %}) {% if can_edit %}
{% csrf_token %}
{% endif %}
{% endfor %}
{% endif %}
{% if can_edit %}
{% translate "Edit this fight" %}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}
{% for s in sides %}
{% csrf_token %}
{% endfor %}
{% csrf_token %}
{% if other_fights %}
{% csrf_token %}
{% csrf_token %}
{% endif %}
{% endif %} {% if can_post %}
{% translate "Discord" %}
{% if webhooks %}
{% csrf_token %}
{% else %}{% translate "No Discord webhooks are configured. An admin can add one in the Django admin." %}{% endif %} {% for post in discord_posts %}
{% blocktranslate with who=post.user.username when=post.posted_at|date:"Y-m-d H:i" where=post.webhook.name status=post.get_status_display %}Posted by {{ who }} on {{ when }} to {{ where }} ({{ status }}){% endblocktranslate %}
{% endfor %}
{% endif %}
{% translate "History" %}
{% for change in changes %}
{{ change.at|date:"Y-m-d H:i" }} · {{ change.user.username|default:"automatic" }} · {{ change.get_action_display }}{% if change.details %} {{ change.details }}{% endif %}
{% empty %}{% translate "No edits yet." %}{% endfor %}
{{ fight_config|json_script:"fight-config" }} {% endblock %} {% block fightlog_js %} {% include "bundles/chart-js.html" %} {% include "bundles/datatables-2-js-bs5.html" %} {% endblock %}