{% extends "secretsanta/base.html" %} {% load i18n %} {% load humanize %} {% block details %}

{% translate "Secret Santa Pairs" %}

{% for pair in pairs %} {% endfor %}
{% translate "Santa" %} {% translate "Santee" %} {% translate "Delivered" %}
{{ pair.santa.profile.main_character }} {{ pair.santee.profile.main_character }} {{ pair.delivered }}
{% if year.open %} {% else %} {% trans "notify_santas" %} {% trans "notify_outstanding_santees" %} {% endif %} {% endblock details %} {% block extra_javascript %} {% include "bundles/datatables-js.html" %} {% include "bundles/moment-js.html" %} {% endblock extra_javascript %} {% block extra_css %} {% include "bundles/datatables-css.html" %} {% endblock extra_css %} {% block extra_script %} $(document).ready( function () { $('#table-secret-santa-pairs').DataTable({ lengthMenu: [ [10, 25, 50, 100, -1], [10, 25, 50, 100, 'All'], ], "stateSave": true, "stateDuration": 0 }); } ); {% endblock extra_script %}