notifications: example in base email template
This commit is contained in:
parent
b8c9f0a998
commit
11d00c528b
1 changed files with 5 additions and 1 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue