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

Skip to content
Snippets Groups Projects
infoEmail.html 1.53 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(${user.login})}">
            Dear participant,
        </p>
        <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><tr><th>Exercise Name</th><th>Watchlist</th></tr>
        <tr th:each="wlUpdate: ${watchListUpdates}">
Michael Breu's avatar
Michael Breu committed
            <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>
        <p>
            <a th:with="url=(@{|${baseUrl}/account/activate?key=${user.activationKey}|})" th:href="${url}"
            th:text="${url}">Activation link</a>
        </p>
        <p>
            <span th:text="#{email.activation.textRegards}">Regards, </span>
            <br/>
            <em th:text="#{email.signature}">You CodeAbility Sharing Platform Service Team.</em>
        </p>
    </body>
</html>