From dba15f435d0f618cbb0c12dc3270d30dbdea2e47 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 22 Sep 2016 15:19:58 +0200 Subject: [PATCH] Use master branch only for submodules, prespare project detail template --- app/templates/projects/project_detail.html | 67 ++++++++++++---------- 1 file changed, 37 insertions(+), 30 deletions(-) diff --git a/app/templates/projects/project_detail.html b/app/templates/projects/project_detail.html index 167bd37b..7b850e82 100644 --- a/app/templates/projects/project_detail.html +++ b/app/templates/projects/project_detail.html @@ -14,39 +14,10 @@ {% if project.description %} {{ project.description }} {% endif %} -
--------------------------------
+ {% if project.content %} {{ project.content|richtext_filters|safe }} {% endif %} -
--------------------------------
- {% if project.lead_team %} - Project lead team : {{ project.lead_team }}
- {% endif %} -
--------------------------------
- {% if project.persons.all %} - Persons :
- {% for person in project.persons.all %} - {{ person }}
- {% endfor %} - {% endif %} -
--------------------------------
- {% if project.teams.all %} - Teams :
- {% for team in project.teams.all %} - {{ team }}
- {% endfor %} - {% endif %} -
--------------------------------
- {% if project.organizations.all %} - organizations :
- {% for organization in project.organizations.all %} - {{ organization }}
- {% endfor %} - {% endif %} -
--------------------------------
- {% if project.website %} - website : {{ project.website }}
- {% endif %} {% endblock %} {% block page_audio %} @@ -78,3 +49,39 @@ {% include "core/inc/block.html" %} {% endwith %} {% endblock %} + +{% block project_details %} +
+
+ {% trans "Project details" %} + +
    +
  • {% trans "Program" %}>
  • +
+
+
+ +{% if project.lead_team %} + Project lead team : {{ project.lead_team }}
+{% endif %} +{% if project.persons.all %} + Persons :
+ {% for person in project.persons.all %} + {{ person }}
+ {% endfor %} +{% endif %} +{% if project.teams.all %} + Teams :
+ {% for team in project.teams.all %} + {{ team }}
+ {% endfor %} +{% endif %} +{% if project.organizations.all %} + organizations :
+ {% for organization in project.organizations.all %} + {{ organization }}
+ {% endfor %} +{% endif %} +{% if project.website %} + website : {{ project.website }}
+{% endif %} -- 2.39.5