]> git.parisson.com Git - mezzo.git/commitdiff
Add projects inc
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 7 Oct 2016 09:07:01 +0000 (11:07 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 7 Oct 2016 09:07:01 +0000 (11:07 +0200)
app/templates/projects/inc/project_list.html [new file with mode: 0644]

diff --git a/app/templates/projects/inc/project_list.html b/app/templates/projects/inc/project_list.html
new file mode 100644 (file)
index 0000000..8566a8a
--- /dev/null
@@ -0,0 +1,14 @@
+<div class="row">
+    {% for project in projects %}
+        <div class="col-sm-6">
+            <h3 class="mt0 mb0">
+                <a href="{% url 'organization-project-detail' project.slug %}">
+                    {{ project }}
+                </a>
+            </h3>
+            <p>
+                {{ project.description }}
+            </p>
+        </div>
+    {% endfor %}
+</div>