added favorite usage

This commit is contained in:
Jörg Henke
2023-11-02 18:57:09 +01:00
parent d702d6816b
commit 8b51b595d6
5 changed files with 35 additions and 2 deletions

View File

@ -69,7 +69,7 @@
<button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Favoriten</button>
<ul class="dropdown-menu">
<li th:each="f : ${favorites}">
<a class="dropdown-item" href="#"><span th:text="${f.project} + ' ' + ${f.module} + ' ' + ${f.job}"></span></a>
<a class="dropdown-item" th:href="@{/done/usefav/{id}(id=${f.fkFavorite})}"><span th:text="${f.project} + ' ' + ${f.module} + ' ' + ${f.job}"></span></a>
</li>
</ul>
</div>