Browse Source

Minor update

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

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

@ -108,7 +108,9 @@ Idea of the following syntax used in this and other HTML document:
| Category is string value 'book.null.category' | Category is string value 'book.null.category'
*/--> */-->
<td th:text="${book.category != null} ? ${book.category.name} : (${#messages.msgOrNull('book.null.category')} ?: 'book.null.category')">(obj) book.category.name</td>
<td th:text="${book.category != null} ? ${book.category.name} : (${#messages.msgOrNull('book.null.category')} ?: 'book.null.category')">
(obj) book.category.name
</td>
<!--/* <!--/*
Get book price with two decimal precision. Get book price with two decimal precision.


Loading…
Cancel
Save