java-spring: option to send directUrl

This commit is contained in:
Vladimir Kurguzov
2022-10-26 11:48:11 +03:00
committed by Sergey Linnik
parent 0a390094e5
commit e40b6b2e28
7 changed files with 10 additions and 3 deletions

View File

@ -137,7 +137,7 @@
<tr th:each="file,iState : ${files}" class="tableRow" th:title="${files[iState.index].getName() + versions[iState.index]}">
<td class="contentCells">
<a class="stored-edit" th:classappend="${docTypes[iState.index]}"
th:href="@{/editor(fileName=${files[iState.index].getName()})}" target="_blank">
th:href="@{/editor(fileName=${files[iState.index].getName()}, directUrl=${directUrl})}" target="_blank">
<span th:text="${files[iState.index].getName()}"></span>
</a>
</td>