{% extends "base.html" %}
{% load i18n wagtailroutablepage_tags %}

{% block content %}
<div class="container push-top-bottom">
    <div class="faq">
        {% for pos in positions %}
            <div class="faq-item">
                <div class="faq-item-question">
                    <h2>{{ pos }}{% if pos.function.team %} &mdash; {{ pos.function.team }}{% endif %}</h2>
                </div><!-- /.faq-item-question -->

                <div class="faq-item-answer">
                    {% if pos.function.description %}<p>{{ pos.function.description }}</p>{% endif %}
                    {% if pos.comment %}<p>{{ pos.comment }}</p>{% endif %}
                </div><!-- /.faq-item-answer -->

                <div class="faq-item-meta">
                    <div style="text-align: left; float: left">
                        {% trans 'Term of office' %}:
                        <span class="rate">
                            {{ pos.term_from }}<span class="separator">-</span>{{ pos.term_to }}
                        </span><!-- /.rate -->
                    </div>
                    <div>
                        <a class="btn" href="{% routablepageurl page "position" pos.id  %}">{% trans 'apply' %}</a>
                    </div>
                </div><!-- /.faq-item-meta -->
            </div><!-- /.faq-item -->
        {% endfor %}

    </div><!-- /.faq -->

</div><!-- /.container -->
{% endblock %}
{% extends "base.html" %}
{% load i18n wagtailroutablepage_tags %}

{% block content %}
<div class="container push-top-bottom">
    <div class="faq positions">
        {% for pos in positions %}
            <div class="faq-item">
                <div class="faq-item-question">
                    <h2>{{ pos }}{% if pos.function.team %} &mdash; {{ pos.function.team }}{% endif %}</h2>
                    <p style="margin-top: -15px;"><b>Deadline: {{ pos.deadline }}</b></p>
                </div><!-- /.faq-item-question -->

                <div class="faq-item-answer">
                    {% if pos.function.description %}<p>{{ pos.function.description }}</p>{% endif %}
                    {% if pos.comment %}<p>{{ pos.comment }}</p>{% endif %}
                </div><!-- /.faq-item-answer -->

                <div class="faq-item-meta">
                    <div style="text-align: left; float: left">
                        {% trans 'Term of office' %}:
                        <span class="rate">
                            {{ pos.term_from }}<span class="separator">-</span>{{ pos.term_to }}
                        </span><!-- /.rate -->
                    </div>
                    <div>
                        <a class="btn" href="{% routablepageurl page "position" pos.id  %}">{% trans 'apply' %}</a>
                    </div>
                </div><!-- /.faq-item-meta -->
            </div><!-- /.faq-item -->
        {% endfor %}

    </div><!-- /.faq -->

</div><!-- /.container -->
{% endblock %}
Add deadline to open positions
:art: Add deadline to open positions
