commit f5e6123e50a994794813dc60fa1ce3e9a7c699fa Author: emma peel emma.peel@riseup.net 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 b6f51c86..338da9b0 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 58dbf3cf..18d83557 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@lists.torproject.org