Trying to tweak the welcome home autoamtions so they list everyone

This commit is contained in:
Jeffrey Stone
2021-11-11 22:01:20 -05:00
parent 4a178110d2
commit 26066d3c19
2 changed files with 14 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
{# Event Report #}
{%- macro getReport() -%}
<p>
{% set person = expand('group.arriving')|map(attribute='name')|join(' and ') %}
{% set person = expand('group.people')| selectattr('state', 'eq', 'home') | map(attribute='name')|join(' and ') %}
{% set peoplecount = expand('group.arriving') | count %}
{% if peoplecount == 0 %}
<s>Welcome Home</s>