{% extends 'foirequest/base.html' %} {% load i18n %} {% load static %} {% load markup %} {% load foirequest_tags %} {% load block_helper %} {% block title %}{{ object.title }}{% endblock %} {% block metadescription %}{{ object.description }}{% endblock %} {% block extra_head %} {% if not object.private %} {% endif %} {% if user.is_staff %} {% with object.get_set_tags_form as set_tags_form %} {{ set_tags_form.media.css }} {% endwith %} {% endif %} {% endblock %} {% block app_body %}

{{ object.title }}

{% blocktrans with date=object.created|date:"SHORT_DATE_FORMAT" num=object.request_count %} Created on {{ date }} with currently {{ num }} requests. {% endblocktrans %} {% if object.public %} {% trans "This project and all its requests are public." %} {% else %} {% trans "This project and all its requests are not public." %} {% endif %}

{% for req in object.foirequest_set.all %} {% endfor %}
# {% trans "status" %} {% trans "last message" %} {% trans "public body" %}
{{ req.project_order }} {{ req.get_status_display }} {{ req.last_message|date:"SHORT_DATE_FORMAT" }} {{ req.public_body.name }}
{% if team_form %} {% trans "Assign team to project" as legend %} {% trans "Set team for project" as submit_button %} {% url 'foirequest-project_set_team' slug=object.slug as submit_url %} {% include "team/_assign_team_form.html" with object=object form=team_form submit_url=submit_url legend=legend submit_button=submit_button %} {% endif %} {% endblock %}