notifications: example in base email template

This commit is contained in:
lisaq 2016-07-28 14:40:49 +02:00
parent b8c9f0a998
commit 11d00c528b

View file

@ -7,7 +7,11 @@
${_('This is a notification from RhodeCode. %(instance_url)s') % {'instance_url': instance_url}}
</%def>
<%def name="body_plaintext()" filter="n,trim"></%def>
<%def name="body_plaintext()" filter="n,trim">
## this example is not called itself but overridden in each template
## the plaintext_footer should be at the bottom of both html and text emails
${self.plaintext_footer()}
</%def>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">