remove trailing slash

This commit is contained in:
Jay 2020-04-19 21:56:57 +09:00 committed by Dave Syer
parent 9873188e29
commit 410abc21f3
2 changed files with 12 additions and 12 deletions

View file

@ -16,15 +16,15 @@
</tr> </tr>
<tr> <tr>
<th>Address</th> <th>Address</th>
<td th:text="*{address}" /></td> <td th:text="*{address}"></td>
</tr> </tr>
<tr> <tr>
<th>City</th> <th>City</th>
<td th:text="*{city}" /></td> <td th:text="*{city}"></td>
</tr> </tr>
<tr> <tr>
<th>Telephone</th> <th>Telephone</th>
<td th:text="*{telephone}" /></td> <td th:text="*{telephone}"></td>
</tr> </tr>
</table> </table>
@ -44,12 +44,12 @@
<td valign="top"> <td valign="top">
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>Name</dt> <dt>Name</dt>
<dd th:text="${pet.name}" /></dd> <dd th:text="${pet.name}"></dd>
<dt>Birth Date</dt> <dt>Birth Date</dt>
<dd <dd
th:text="${#temporals.format(pet.birthDate, 'yyyy-MM-dd')}" /></dd> th:text="${#temporals.format(pet.birthDate, 'yyyy-MM-dd')}"></dd>
<dt>Type</dt> <dt>Type</dt>
<dd th:text="${pet.type}" /></dd> <dd th:text="${pet.type}"></dd>
</dl> </dl>
</td> </td>
<td valign="top"> <td valign="top">

View file

@ -19,12 +19,12 @@
</tr> </tr>
</thead> </thead>
<tr> <tr>
<td th:text="${pet.name}" /></td> <td th:text="${pet.name}"></td>
<td <td
th:text="${#temporals.format(pet.birthDate, 'yyyy-MM-dd')}" /></td> th:text="${#temporals.format(pet.birthDate, 'yyyy-MM-dd')}"></td>
<td th:text="${pet.type}" /></td> <td th:text="${pet.type}"></td>
<td <td
th:text="${pet.owner?.firstName + ' ' + pet.owner?.lastName}" /></td> th:text="${pet.owner?.firstName + ' ' + pet.owner?.lastName}"></td>
</tr> </tr>
</table> </table>
@ -52,8 +52,8 @@
<th>Description</th> <th>Description</th>
</tr> </tr>
<tr th:if="${!visit['new']}" th:each="visit : ${pet.visits}"> <tr th:if="${!visit['new']}" th:each="visit : ${pet.visits}">
<td th:text="${#temporals.format(visit.date, 'yyyy-MM-dd')}" /></td> <td th:text="${#temporals.format(visit.date, 'yyyy-MM-dd')}"></td>
<td th:text=" ${visit.description}" /></td> <td th:text=" ${visit.description}"></td>
</tr> </tr>
</table> </table>