{% extends "layout.html" %} {% from "macros.html" import render_field, form_tag %} {% block content %} {% call form_tag(form) %}

{{ title|default("Email template", true) }}

{{ render_field(form.email_template_enabled, data_toggle="collapse", data_target="#template-row") }}
{{ render_field(form.email_template) }}
{{ form.prefill(**{"data-toggle": "tooltip", "title": "Prefill or reset the email template"}) }} {#{ form.cancel }#} {{ form.save }} {{ form.send(**{"data-toggle": "tooltip", "title": "Send a test email to yourself"}) }}

The look and feel of your orgainisation's Hub-generated email can be customised with any html able to be used.
For most users, selecting "Prefill" to display the default email template will give you a good base to start.
Press "Send" to mail yourself the result of your modifications, and once satisfied press "Save".
The following fields can be used in your template and will be automatically populated in any Hub-generated email; however

Template field Description
{SUBJECT}The default subject that the Hub customises depending on the purpose, e.g., affiliation, funding, works, and peer-review
{MESSAGE}The default core message that the Hub customises depending on the purpose, e.g., affiliation, funding, works, and peer-review
{INCLUDED_URL}The url for invitations and status updates; is contained in all {MESSAGE} bodies that require it
{LOGO}Any image uploaded, otherwise the Hub's default logo
{EMAIL}The recepient's email address
{BASE_URL}The Hub's base URL, i.e., "{{ BASE_URL }}"
{% endcall %} {% endblock %}