From c47693453458e6a2ad7b1525bdbf84b0f2d1a94d Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Thu, 3 Aug 2023 00:47:22 +0200
Subject: [PATCH] Add theses and icons to project pages

---
 templates/project.html | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/templates/project.html b/templates/project.html
index f6bb5498..72d1c8b1 100644
--- a/templates/project.html
+++ b/templates/project.html
@@ -24,11 +24,18 @@
           </p>
         </div>
         <div class="column project-theses">
-          <ul>
-            {% for thesis in section.extra.theses %}
-            <li>{{ thesis }}</li>
-            {% endfor %}
-          </ul>
+          {% for thesis in section.extra.theses %}
+          <article class="media">
+            <figure class="media-left">
+              <p class="image is-64x64">
+                <img src="/{{ section.extra.list_icon }}" />
+              </p>
+            </figure>
+            <div class="media-content">
+              <p>{{ thesis }}</p>
+            </div>
+          </article>
+          {% endfor %}
         </div>
       </div>
     </div>
-- 
GitLab