Created
May 16, 2024 18:40
-
-
Save srhyne/b2924d9e873ff214c707cbb28b23743f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Hello {{contact.first_name}},</p> | |
<p>The below table is a list of all iPads currently assigned to reps...</p> | |
<br><br> | |
<table> | |
<thead> | |
<tr> | |
<th>Issued To</th> | |
<th>Asset Number</th> | |
</tr> | |
</thead> | |
<tbody> | |
{% for asset in inputs.assets %} | |
{% assign isEven = forloop.index0 | modulo: 2 == 0 %} | |
{% if isEven %} | |
{% assign bgColor = 'whitesmoke' %} | |
{% else %} | |
{% assign bgColor = 'white' %} | |
{% endif %} | |
<tr style="background:{{bgColor}}"> | |
<td>{{ asset.rep_name }} ({{asset.badge_number}})</td> | |
<td>{{ asset.asset_number }}</td> | |
</tr> | |
{% endfor %} | |
</tbody> | |
</table> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment