Skip to content
Snippets Groups Projects

Port/Rewrite Plan

Merged Benjamin Hättasch requested to merge feature-plan-new into master
2 files
+ 37
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -4,6 +4,8 @@
{% load fontawesome_5 %}
{% load tags_AKSubmission %}
{% load tags_AKModel %}
{% block title %}{% trans "AKs" %}: {{ ak.event.name }} - {% trans "AK" %}: {{ ak.name }}{% endblock %}
@@ -14,6 +16,12 @@
<li class="breadcrumb-item active">{{ ak.name }}</li>
{% endblock %}
{% if 'AKPlan'|check_app_installed %}
{% block imports %}
{% include "AKPlan/plan_akslot.html" %}
{% endblock %}
{% endif %}
{% block content %}
{% include "AKSubmission/messages.html" %}
@@ -55,11 +63,44 @@
{{ ak.reso | bool_symbol }}
</td>
</tr>
{% if ak.requirements.count > 0 %}
<tr>
<td>{% trans "Requirements" %}</td>
<td>
{% for requirement in ak.requirements.all %}
{% if forloop.counter0 > 0 %}
,&nbsp;
{% endif %}
{{ requirement }}
{% endfor %}
</td>
</tr>
{% endif %}
{% if ak.conflicts.count > 0 %}
<tr>
<td>{% trans "Conflicting AKs" %}</td>
<td>
{% include "AKSubmission/ak_linked_list_inline.html" with aks=ak.conflicts slug=ak.event.slug %}
</td>
</tr>
{% endif %}
{% if ak.prerequisites.count > 0 %}
<tr>
<td>{% trans "Prerequisite AKs" %}</td>
<td>
{% include "AKSubmission/ak_linked_list_inline.html" with aks=ak.prerequisites slug=ak.event.slug %}
</td>
</tr>
{% endif %}
</table>
<p style="margin-top: 30px;margin-bottom: 30px;">{{ ak.description }}</p>
{% if 'AKPlan'|check_app_installed %}
<div id='akSlotCalendar' style="margin-bottom: 50px;"></div>
{% endif %}
<table class="table">
<thead>
Loading