|
|
@ -35,7 +35,12 @@ |
|
|
|
<th:block th:each="userName: ${userNames}"> |
|
|
|
<div th:text="${userName}"></div> |
|
|
|
</th:block> --> |
|
|
|
<span th:if="${message}"> </span> Welcome <span th:text="${#authentication.name}">nova</span> |
|
|
|
<span th:if="${message}"> </span> |
|
|
|
<div th:switch="${#authentication.name}"> |
|
|
|
<p th:case="'anonymousUser'">Welcome guest |
|
|
|
</p> |
|
|
|
<p th:case="*"><span th:text="'Welcome ' + ${#authentication.name}"></span></p> |
|
|
|
</div> |
|
|
|
<p>Chatto is a minimal, end to end encrypted chat application.</p> |
|
|
|
<!-- <button class="btn btn-secondary"> <a href="registration.html" th:href="{@/registration}">Get Started</a></button> --> |
|
|
|
<a class="btn btn-secondary" href="registration.html" th:href="@{/registration}">Get Started</a> |
|
|
|