-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from Jona511/birthdayListPlugin
Add HTML mail template to birthday butler
- Loading branch information
Showing
4 changed files
with
59 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
projectforge-business/src/main/resources/mail/birthdayButlerCronMail.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<html> | ||
#INCLUDE{mail/mailHead.html} | ||
<body> | ||
<div id="mail"> | ||
<div class="container"> | ||
<div class="content"> | ||
<!--Header without the address--> | ||
<% if (pf.isVariableGiven("logoUrl")) { %> | ||
<a href="<%= pf.getString(baseUrl) %>" target="_blank" rel="noreferrer"> | ||
<img src="<%= pf.getString(logoUrl) %>" class="logo" alt="Logo"> | ||
</a> <% } %> | ||
<h1 class="title"><%= pf.getString(title) %></h1> | ||
|
||
<p><%= pf.getMessage("birthdayButler.email.opening") %></p> | ||
<br> | ||
<p> | ||
<%= pf.getMessage(content, "<b>${month}</b>", "<b>${listSize}</b>") %> | ||
</p> | ||
<br> | ||
#INCLUDE{mail/mailClosing.html} | ||
#INCLUDE{mail/mailFooter.html} | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |