diff --git a/lib/galaxy/config/templates/mail/notifications/new_shared_item-email.html b/lib/galaxy/config/templates/mail/notifications/new_shared_item-email.html new file mode 100644 index 00000000000..45a610bbb38 --- /dev/null +++ b/lib/galaxy/config/templates/mail/notifications/new_shared_item-email.html @@ -0,0 +1,74 @@ +Use this template to customize the HTML email your users will receive +when a new notification of category "new_shared_item" is sent to them. +Copy the file to {{ templates_dir }}/mail/notifications/new_shared_item-email.html and modify as required. + +If you are adding URLs into this, remember that only absolute URLS (with +a domain name) make sense in email! They can be served from any stable +location, including your Galaxy server or GitHub. + +The following variables are available for inserting into the html with Jinja2 +syntax, like {{ variable_name }}. They will be rendered into the text before +the email is sent: + +- name The user's name +- user_email The user's email +- date Date and time of the notification +- hostname Your galaxy's hostname +- contact_email Your galaxy's contact email +- notification_settings_url The URL to the user's notification settings to manage their subscriptions +- content The new_shared_item payload + - item_type The type of the shared item + - item_name The name of the shared item + - owner_name The name of the owner of the shared item + - slug The slug of the shared item. Used for the link to the item. + +Template begins here >>>>>> + + +
+ +
+ Hello {{ name }},
+
+ A new {{ content['item_type'] }} named {{ content['item_name'] }} has been shared with you on {{ date }} by {{ content['owner_name'] }}.
+
+ To access the shared {{ content['item_type'] }}, please visit the following link:
+
+ {{ content['item_name'] }}
+
+
+
+ Thank you for using Galaxy! +
+ + +
+ Regards,
+ Your Galaxy Team at {{ hostname }}
+
+ This is an automated email. If you have any questions or concerns, please do not reply to this email, instead, contact us at {{ contact_email }}.
+
+ You received this email because you are subscribed to receive notifications when another user shares an item with you.
+
+ You can manage your notification settings here.
+
+
+