[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tpo/staging] show job offer



commit f5e6123e50a994794813dc60fa1ce3e9a7c699fa
Author: emma peel <emma.peel@xxxxxxxxxx>
Date:   Mon Oct 21 15:28:44 2019 +0200

    show job offer
---
 content/about/jobs/shadow-simulation-developer/contents.lr | 2 +-
 templates/jobs.html                                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/about/jobs/shadow-simulation-developer/contents.lr b/content/about/jobs/shadow-simulation-developer/contents.lr
index b6f51c8..338da9b 100644
--- a/content/about/jobs/shadow-simulation-developer/contents.lr
+++ b/content/about/jobs/shadow-simulation-developer/contents.lr
@@ -2,7 +2,7 @@ _model: job
 ---
 _template: about.html
 ---
-active: False
+active: True
 ---
 section: about
 ---
diff --git a/templates/jobs.html b/templates/jobs.html
index 58dbf3c..18d8355 100644
--- a/templates/jobs.html
+++ b/templates/jobs.html
@@ -5,7 +5,7 @@
   <div class="accordion" id="accordionJobs">
     {% from "macros/jobs.html" import render_active %}
     {% set items = this.children.filter(F.active == True).all() %}
-    {% if items|length > 1 %}
+    {% if items|length > 0 %}
       {% for item in items %}
         {{ render_active(item, this.alt) }}
       {% endfor %}

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits