Dear XWiki community,
Documentation says that notification email template can be customized on XWiki.Notifications.MailTemplate page.
But how do I access it ?
/bin/view/XWiki/XWiki.Notifications.MailTemplate - 404
search doesn’t work for XWiki system pages…
Please advise )
The references transforms dots .
to slashes /
. So the page should be located at xwiki/bin/edit/XWiki/Notifications/MailTemplate?editor=object
1 Like
Perfect!
Thank you both Ecaterina and Vincent!
How do I opt out of seeing attachments/images in email notifications?
Is it in here?
#template('notification/email/macros.vm')
## Main Div
<div style="font-family:'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; background-color:#F5F5F5; padding:15px; margin:0 auto; color: #1d1f24; ">
## Main centered table
<table style="max-width: 570px; margin:0 auto" cellspacing="0" cellpadding="0" width="100%" align="center"><tr><td>
## Logo table
<table width="100%" border="0"><tr height="55px">
## Logo
<td align="left"><a href="$xwiki.getURL($services.wiki.currentWikiDescriptor.mainPageReference)"><img src="cid:logo" alt="XWiki" style="max-width: 50%; max-height: 50px;"/></a></td>
## Notification settings
<td align="right"><a href="$xwiki.getURL($emailUser, 'view', 'category=notifications')" style="color: #0088CC; text-decoration: none; font-size: 14px;"><img src="cid:NECog.png" alt="" height="12" style="height: 12px"/> $escapetool.xml($services.localization.render('notifications.settings.title'))</a></td>
## End of the logo table
</tr></table>
## Events div
<div style="background:white;padding:1em; border-left: 1px solid #eaeaea;border-right: 1px solid #eaeaea;border-bottom: 1px solid #ddd;border-top: 1px solid #f0f0f0;">
<h1 style="font-size:30px;font-style:normal;font-weight:500;line-height:42px;letter-spacing:normal; margin-top: 0;font-size:21px;">$escapetool.xml($services.localization.render('notifications.email.title'))</h1>
## Display a table of content
#displayTOC($sortedEvents)
## Display Events
#foreach ($list in $sortedEvents.values())
#foreach ($sortedEvent in $list)
#displaySortedEvent($sortedEvent)
#end
#end
## End of the events div
</div>
## End of the main table
</td></tr></table>
## End of the main div
</div>
1 Like
Please start a new thread (it’s not a good practice to hijack an existing thread when the question is different). Thx