]> git.parisson.com Git - mezzo.git/commitdiff
Use master branch only for submodules, prespare project detail template
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 22 Sep 2016 13:19:58 +0000 (15:19 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 22 Sep 2016 13:19:58 +0000 (15:19 +0200)
app/templates/projects/project_detail.html

index 167bd37b15362302a5d90354624938c4cdc9dd6b..7b850e82c74b37c2b1f3fa12a7091f0948d7aab6 100644 (file)
   {% if project.description %}
     {{ project.description }}
   {% endif %}
-  <br>--------------------------------<br>
+
   {% if project.content %}
     {{ project.content|richtext_filters|safe }}
   {% endif %}
-  <br>--------------------------------<br>
-  {% if project.lead_team %}
-    Project lead team : {{ project.lead_team }}<br>
-  {% endif %}
-  <br>--------------------------------<br>
-  {% if project.persons.all %}
-    Persons :<br>
-    {% for person in project.persons.all %}
-      {{ person }}<br>
-    {% endfor %}
-  {% endif %}
-  <br>--------------------------------<br>
-  {% if project.teams.all %}
-    Teams :<br>
-    {% for team in project.teams.all %}
-      {{ team }}<br>
-    {% endfor %}
-  {% endif %}
-  <br>--------------------------------<br>
-  {% if project.organizations.all %}
-    organizations :<br>
-    {% for organization in project.organizations.all %}
-      {{ organization }}<br>
-    {% endfor %}
-  {% endif %}
-  <br>--------------------------------<br>
-  {% if project.website %}
-    website : {{ project.website }}<br>
-  {% endif %}
 {% endblock %}
 
 {% block page_audio %}
       {% include "core/inc/block.html" %}
     {% endwith %}
 {% endblock %}
+
+{% block project_details %}
+<div>
+  <div>
+    {% trans "Project details" %}
+
+    <ul>
+      <li>{% trans "Program" %}></li>
+    </ul>
+  </div>
+</div>
+
+{% if project.lead_team %}
+  Project lead team : {{ project.lead_team }}<br>
+{% endif %}
+{% if project.persons.all %}
+  Persons :<br>
+  {% for person in project.persons.all %}
+    {{ person }}<br>
+  {% endfor %}
+{% endif %}
+{% if project.teams.all %}
+  Teams :<br>
+  {% for team in project.teams.all %}
+    {{ team }}<br>
+  {% endfor %}
+{% endif %}
+{% if project.organizations.all %}
+  organizations :<br>
+  {% for organization in project.organizations.all %}
+    {{ organization }}<br>
+  {% endfor %}
+{% endif %}
+{% if project.website %}
+  website : {{ project.website }}<br>
+{% endif %}