#44 fix link to papers

This commit is contained in:
T-Midnight 2019-06-05 11:52:54 +04:00
parent 24d3c2ef69
commit 8b263e7e0f

View File

@ -7,7 +7,7 @@
<div th:fragment="paperLine (paper)" class="row text-left paper-row" style="background-color: white;">
<div class="col">
<span th:replace="papers/fragments/paperStatusFragment :: paperStatus(paperStatus=${paper.status}, title=${paper.title})"/>
<a th:href="@{'paper?id='+${paper.id}}">
<a th:href="@{'../papers/paper?id='+${paper.id}}">
<span class="h6" th:if="${#strings.length(paper.title)} > 50"
th:text="${#strings.substring(paper.title, 0, 50) + '...'}" th:title="${paper.title}"/>
<span class="h6" th:if="${#strings.length(paper.title) le 50}" th:text="${paper.title}"