{% extends 'AKSubmission/submission_base.html' %} {% load i18n %} {% load fontawesome_5 %} {% load tz %} {% load tags_AKSubmission %} {% load tags_AKModel %} {% block title %}{{ ak.name }} ({{ ak.event.name }}) {% endblock %} {% block meta %} {% endblock %} {% block breadcrumbs %} {% include "AKSubmission/submission_breadcrumbs.html" %} {% endblock %} {% if 'AKPlan'|check_app_installed %} {% block imports %} {% include "AKPlan/plan_akslot.html" %} {% endblock %} {% endif %} {% block content %} {% include "messages.html" %}
{% if ak.interest_counter >= 0 %} {% if ak.event.active and interest_indication_active %} {% trans 'Interest' %}: {{ ak.interest_counter }} {% fa5_icon 'thumbs-up' 'fas' %} {% endif %} {% endif %} {% if ak.link != "" %} {% fa5_icon 'external-link-alt' 'fas' %} {% endif %} {% if ak.protocol_link != "" %} {% fa5_icon 'file-alt' 'far' %} {% endif %} {% fa5_icon 'clock' 'fas' %} {% if ak.event.active %} {% fa5_icon 'envelope' 'fas' %} {% fa5_icon 'pencil-alt' 'fas' %} {% endif %}

{% if ak.wish %}{% trans "AK Wish" %}: {% endif %}{{ ak.name }}

{# Show current or upcoming slot featured in a box on top of the plage #} {% if featured_slot_type != "NONE" %}
{% if featured_slot_type == "CURRENT" %} {% blocktrans with room=featured_slot.room %} This AK currently takes place for another {{ featured_slot_remaining }} minute(s) in {{ room }}.   {% endblocktrans %} {% elif featured_slot_type == "UPCOMING" %} {% blocktrans with room=featured_slot.room %} This AK starts in {{ featured_slot_remaining }} minute(s) in {{ room }}.  {% endblocktrans %} {% endif %} {% if "AKOnline"|check_app_installed and featured_slot.room.virtualroom and featured_slot.room.virtualroom.url != '' %} {% fa5_icon 'external-link-alt' 'fas' %} {% trans "Go to virtual room" %} {% endif %}
{% endif %} {% if ak.track %} {% endif %} {% if not ak.wish %} {% endif %} {% if ak.requirements.count > 0 %} {% endif %} {% if ak.conflicts.count > 0 %} {% endif %} {% if ak.prerequisites.count > 0 %} {% endif %} {% if ak.notes %} {% endif %}
{% trans "Who?" %} {% include "AKSubmission/owners_list.html" with owners=ak.owners %}
{% trans 'Category' %} {% category_linked_badge ak.category ak.event.slug %}
{% trans 'Track' %} {{ ak.track }}
{% trans "Present this AK" %} {% if ak.present != None %} {{ ak.present | bool_symbol }} {% else %} {{ ak.category.present_by_default | bool_symbol }} {% trans "(Category Default)" %} {% endif %}
{% trans "Tags" %} {% tag_list ak.tags.all ak.event.slug %}
{% trans "Reso intention?" %} {{ ak.reso | bool_symbol }}
{% trans "Requirements" %} {% for requirement in ak.requirements.all %} {% if forloop.counter0 > 0 %} ,  {% endif %} {{ requirement }} {% endfor %}
{% trans "Conflicting AKs" %} {% include "AKSubmission/ak_linked_list_inline.html" with aks=ak.conflicts slug=ak.event.slug %}
{% trans "Prerequisite AKs" %} {% include "AKSubmission/ak_linked_list_inline.html" with aks=ak.prerequisites slug=ak.event.slug %}
{% trans "Notes" %} {{ ak.notes }}

{{ ak.description|linebreaks }}

{% if not ak.event.plan_hidden or user.is_staff %} {% endif %} {% if not ak.event.plan_hidden or user.is_staff %} {% endif %} {% for slot in ak.akslot_set.all %} {% if not ak.event.plan_hidden or user.is_staff %} {% endif %} {% if not ak.event.plan_hidden or user.is_staff %} {% endif %} {% endfor %}
{% trans "When?" %}{% trans "Duration" %}{% trans "Room" %}
{{ slot.time_simplified }}{{ slot.duration_simplified }} {% if slot.room %} {% if "AKPlan"|check_app_installed %} {{ slot.room }} {% else %} {{ slot.room }} {% endif %} {% else %} - {% endif %} {% if not slot.start %} {% fa5_icon 'pencil-alt' 'fas' %} {% fa5_icon 'times' 'fas' %} {% else %} {% if "AKOnline"|check_app_installed and slot.room and slot.room.virtualroom and slot.room.virtualroom.url != '' %} {% fa5_icon 'external-link-alt' 'fas' %} {% trans "Go to virtual room" %} {% endif %} {% endif %} {% if user.is_staff %} {% fa5_icon 'stream' 'fas' %} {% endif %}
{% if ak.event.active %}
{% fa5_icon 'plus' 'fas' %} {% trans "Add another slot" %}
{% endif %} {% if 'AKPlan'|check_app_installed %}
{% endif %}

{% trans "Possible Times" %}

{% for a in availabilities %} {% endfor %}
{% trans "Start" %} {% trans "End" %}
{{ a.start | timezone:event.timezone | date:"l H:i" }} {{ a.end | timezone:event.timezone | date:"l H:i" }}
{% endblock %}