linked version

This commit is contained in:
Jottyfan
2022-10-15 18:37:52 +02:00
parent f49fb7edab
commit cde060559e
3 changed files with 24 additions and 7 deletions

View File

@ -20,15 +20,15 @@
<body>
<div class="myheadline">
<div class="topright linkbtn">
<span th:if="${not #strings.isEmpty(currentUser)}">
<b th:inline="text">[[${currentUser}]]</b> aus Version <span th:text="${@manifestBean.getVersion()}"></span> <a th:href="@{/logout}">ausloggen</a>
</span>
<span th:if="${#strings.isEmpty(currentUser)}">
<a th:href="@{/dashboard}">einloggen</a>
<span th:if="${not #strings.isEmpty(currentUser)}"> <b th:inline="text">[[${currentUser}]]</b> <a th:href="@{/logout}">ausloggen</a>
</span> <span th:if="${#strings.isEmpty(currentUser)}"> <a th:href="@{/dashboard}">einloggen</a>
</span>
</div>
<span th:replace="${header}">Layout header</span>
</div>
<div th:replace="${content}">Layout content</div>
<div class="versionclip">
<a href="https://gitlab.com/jottyfan/camporganizer2/-/issues" class="versionlink" target="_blank" th:text="${'Version ' + @manifestBean.getVersion()}"></a>
</div>
</body>
</html>