Browse Source

Booklist: fix href URLs

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.4-alpha
Pekka Helenius 4 years ago
parent
commit
1f98be01ba
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bookstore/src/main/resources/templates/booklist.html

+ 2
- 2
bookstore/src/main/resources/templates/booklist.html View File

@ -193,7 +193,7 @@ Idea of the following syntax used in this and other HTML document:
<td> <td>
<a class="btn btn-info" <a class="btn btn-info"
th:href="@{__${@Pages.JSON}__} + @{__${@Pages.JSONBOOK}__/{hash_id}(hash_id=${book.bookHash.hashId})}"
th:href="@{__${@Pages.JSON}____${@Pages.JSONBOOK}__/{hash_id}(hash_id=${book.bookHash.hashId})}"
th:text="${#messages.msgOrNull('page.text.book.json')} ?: 'page.text.book.json'"> th:text="${#messages.msgOrNull('page.text.book.json')} ?: 'page.text.book.json'">
page.text.book.json page.text.book.json
</a> </a>
@ -218,7 +218,7 @@ Idea of the following syntax used in this and other HTML document:
<td></td> <td></td>
<td></td> <td></td>
<td> <td>
<a class="btn btn-dark" th:href="@{__${@Pages.JSON}__} + @{__${@Pages.JSONLIST}__}"
<a class="btn btn-dark" th:href="@{__${@Pages.JSON}____${@Pages.JSONLIST}__}"
th:text="${#messages.msgOrNull('button.page.list.json')} ?: 'button.page.list.json'"> th:text="${#messages.msgOrNull('button.page.list.json')} ?: 'button.page.list.json'">
button.page.list.json button.page.list.json
</a> </a>


Loading…
Cancel
Save