Explorar el Código

Images displayed on person list correctly (2)

Andrew Grant hace 2 meses
padre
commit
603814dc74
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/resources/templates/person/list.html

+ 1 - 1
src/main/resources/templates/person/list.html

@@ -36,7 +36,7 @@
 
                 <td th:text="${person.id}">123</td>
                 <td th:text="${person.toString()}"> First</td>
-                <th th:text="${person.getImage()?.getName()}"></th>
+                <th style="font-weight:normal;" th:text="${person.getImage()?.getName()}"></th>
                 <th th:if = "${person.getImage()}">
                     <img class='img-thumbnail' th:src="'data:image/jpeg;base64,' + ${person.getImage()?.imageData} "
                           width="50" height="50" alt=""/>