{% block subject %} InvenioILS: Active loans of patron "{{ patron.name }}" with pid "{{ patron.pid }}". {% endblock %} {% block body_plain %} Dear librarians, these are the active loans of patron {{ patron.name }} <{{ patron.email }}> (pid: {{ patron.pid }}): {%- for loan in loans %} - Pid: {{ loan.pid }}, {{ loan.item.title }}, {{ loan.start_date }}-{{ loan.end_date }} {% endfor %} {% endblock %} {% block body_html %} Dear librarians, these are the active loans of patron {{ patron.name }} <{{ patron.email }}> (pid: {{ patron.pid }}):