Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" th:lang="${#locale.language}" lang="en">
<head>
<title th:text="#{email.info.title}">Sharing Platform Info Update</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="icon" th:href="@{|${baseUrl}/favicon.ico|}" />
</head>
<body>
<p th:text="#{email.info.greeting(null == ${user.firstName}?'':${user.firstName}, ${user.lastName})}">
Dear participant,
</p>
<p th:if="${#lists.isEmpty(watchListUpdates)}" th:text="#{email.info.noChangesOnWatchlist}">With this E-mail we inform you that there were no changes on your watchlists.</p>
<div th:if="${not #lists.isEmpty(watchListUpdates)}">
<p th:text="#{email.info.textIntro}">
you get this e-mail, because one of your automatic checks was triggered.
</p>
<p th:text="#{email.info.textWatchlist}">
Some exercises on your watchlist were recently updated:
</p>
<table><caption>Updated Exercises</caption><tr><th scope="col">Exercise Name</th><th scope="col">Watchlist</th></tr>
<tr th:each="wlUpdate: ${watchListUpdates}">
<td><span th:text="${wlUpdate.key.metadata.title}"></span><span th:text="${#temporals.format(wlUpdate.key.project.last_activity_at,'dd MMMM yyyy')}">Exercise title</span></td>
<td th:text="${wlUpdate.value.name}">Exercise title</td>
</tr>
</table>
</div>
<p>
<span th:text="#{email.info.textRegards}">Regards, </span>
<br/>
<em th:text="#{email.signature}">Your CodeAbility Sharing Platform Service Team.</em>
</p>
<br/><br/>
<p><span th:text="#{email.info.textClosing}">
If you are not interested in getting this e-mail, please log in to the CodeAbility Sharing Platform, and reset your update triggers
</span> <a th:with="url=(@{|${baseUrl}|})" th:href="${url}" th:text="${url}">Link to the Sharing Plattform</a>
</p>
</body>
</html>