[tor-commits] [community/develop] Fix gsoc template

hiro at torproject.org hiro at torproject.org
Fri Jan 24 11:07:37 UTC 2020


commit fa1f5de89b971778b3593f6cc9a0634548190711
Author: hiro <hiro at torproject.org>
Date:   Fri Jan 24 12:07:26 2020 +0100

    Fix gsoc template
---
 templates/gsoc.html            | 7 ++++---
 templates/macros/projects.html | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/templates/gsoc.html b/templates/gsoc.html
index ff0898a..15f388d 100644
--- a/templates/gsoc.html
+++ b/templates/gsoc.html
@@ -4,15 +4,16 @@
       {{ this.body }}
     </div>
   </div>
-  <div class="row">
+  <div class="col-12">
     {% from "macros/projects.html" import render_active %}
     {% for child in this.children.filter(F.active == True).all() %}
-      {{ render_active(child, this.alt) }}
+      <div class="row">
+        {{ render_active(child, this.alt) }}
+      </div>
     {% endfor %}
   </div>
   <div class="row">
     <ul>
-    {% from "macros/projects.html" import render_active %}
     {% for child in this.children.filter(F.active == False).all() %}
       <li>{{ item.title }}</li>
     {% endfor %}
diff --git a/templates/macros/projects.html b/templates/macros/projects.html
index 99e102b..8f26811 100644
--- a/templates/macros/projects.html
+++ b/templates/macros/projects.html
@@ -13,4 +13,4 @@
     </div>
   </div>
 </div>
-{% endmacro %}
\ No newline at end of file
+{% endmacro %}



More information about the tor-commits mailing list