{% extends 'allianceauth/base.html' %} {% load evelinks %} {% load i18n %} {% block page_title %}{% trans 'Fleet Activity' %}{% endblock %} {% block content %}

{% include "imicusfat/menu.html" %}

{% trans "Recent Activity" %}

{% if msg %} {% endif %}

{% trans "Your Most Recent FATs" %}

{% for char in fats %} {% if forloop.first %}
{% else %}
{% endif %}
{% if char|slice:"1:-1"|length > 0 %} {% for ifat in char|slice:"1:" %} {% endfor %}
Fleet Name Fleet Type Location Ship EVE Time
{% if ifat.ifatlink.fleet %} {{ ifat.ifatlink.fleet }} {% else %} {{ ifat.ifatlink.hash }} {% endif %} {% if ifat.ifatlink.link_type %} {{ ifat.ifatlink.link_type.name }} {% endif %} {{ ifat.system }} {{ ifat.shiptype }} {{ ifat.ifatlink.ifattime|date:"Y-M-d, H:i" }}
{% else %} {% endif %}
{% endfor %}
{% endblock %} {% block extra_script %} $('#deleteModal').on('show.bs.modal', function (event) { var button = $(event.relatedTarget) // Button that triggered the modal var url = button.data('url') // Extract info from data-* attributes var name = button.data('name'); var modal = $(this) modal.find('#fat-link').attr("href", url) modal.find('.modal-body').text('{% trans "Are you sure you want to delete" %} ' + name + '?'); }); {% endblock %}