This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
infoEmail.html 2.1 KiB
Newer Older
<!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>