Skip to content

Email template tags

Erin Germ edited this page Oct 17, 2017 · 2 revisions

Email Tags

Info Tag
Carpool leave from {{ carpool['leave_place'] }}
Carpool leave from {{ carpool['from_place'] }}
Carpool arrive to {{ carpool['to_place'] }}
Carpool leave time {{ carpool['leave_time']
Carpool Driver ID {{ carpool.driver_id }}
Destination address {{ destination.address }}
Driver email {{ driver['email'] }}
Driver name {{ carpool['driver']['name'] }}
Rider name {{ rider['name'] }}
User/Person Display Name {{ person.name }}
User/Person Display ID {{ person.id }}
Reason {{ reason }}
Nomad "Find a ride" external URL {{url_for('carpool.find', _external=True)}}
Nomad specific carpool ride external URL {{url_for('carpool.details', uuid=carpool['uuid'], _external=True)}}

sample condition

{% if person.id == carpool.driver_id %}
Text would go here...
{% endif %}
Clone this wiki locally