{% extends 'base.html' %} {% load i18n %} {% block title %} - {{ project_part }}{% endblock %} {% block content %} {% trans "Project" as ph_bc1 %} {% trans "project_url" as ph_bc1_url %} {% trans "Project Part" as ph_bc2 %} {% with ph_icon="icon-cogs" ph_title=project_part.name ph_bc1=ph_bc1 ph_bc1_url=ph_bc1_url ph_bc2=ph_bc2 %} {% include "layout_elements/page_header.html" %} {% endwith %}
{% include "info_box/project_part_detail.html" %}
{% if document_list %} {% trans "Documents" as sh_title %} {% with sh_title=sh_title sh_ec_id="d_1" document_list=document_list %} {% include "info_box/documents.html" %} {% endwith %} {% endif %} {% with web_source_list=project_part.web_sources.all %} {% include "info_box/web_sources.html" %} {% endwith %} {% if project_part.projectpart_set.count > 0 %} {% trans "Subtopics" as sh_title %} {% with sh_title=sh_title sh_ec_id="st_1" sh_icon="icon-user" sh_url_title="" %} {% include "layout_elements/section_header.html" %} {% endwith %}
{% with project_part_list=project_part.projectpart_set.all with_detail_page_url="yes" %} {% include "info_box/project_parts.html" %} {% endwith %}
{% endif %} {% if event_list.count > 0 %} {% trans "Events" as sh_title %} {% with sh_title=sh_title sh_icon="icon-time" sh_url_title="" %} {% include "layout_elements/event_section_header.html" %} {% endwith %} {% include "info_box/events.html" %} {% endif %}
{% if site_config.show_questions_category and question_list.count > 0 %} {% with sh_title="yes" %} {% include "info_box/questions.html" %} {% endwith %} {% endif %} {% if content_document_list %} {% trans "Document Contents" as sh_title %} {% with sh_title=sh_title sh_ec_id="d_2" document_list=content_document_list %} {% include "info_box/documents.html" %} {% endwith %} {% endif %} {% if site_config.activate_comments %} {% trans "Comments" as sh_title %} {% trans "New" as sh_url_title %} {% trans "comments_url" as comments_url %} {% with sh_title=sh_title sh_icon="icon-comments" sh_url_title=sh_url_title sh_url="#CommentModal" modal_url="yes" rss_url=comments_url|add:"rss/" %} {% include "layout_elements/section_header.html" %} {% endwith %} {% with form=comment_form form_valid=comment_form_valid commented_object1=project_part %} {% include "dialogs/comment.html" %} {% endwith %} {% include "info_box/comments.html" %} {% endif %}
{% endblock %}