Skip to content

Commit

Permalink
Merge pull request #425 from josdem/feature/406
Browse files Browse the repository at this point in the history
[small]feature/406
  • Loading branch information
josdem authored Nov 17, 2024
2 parents f356bc8 + 19553e0 commit e853900
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ext {
}

group = 'com.josdem.vetlog'
version = '2.0.6'
version = '2.1.0'

configurations {
compileOnly {
Expand Down
12 changes: 6 additions & 6 deletions src/main/resources/templates/vet/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@
<img style="width:320px;height:300px;" th:attr="src=@{${gcpImageUrl} + ${defaultImage}}"/>
</div>
<div class="caption">
<h3 th:text="${pet.name}"></h3>
<h3 th:data-testid="petName" th:text="${pet.name}"></h3>
<p>
<ul>
<li th:text="${@dateFormatter.formatToDate(pet.birthDate, #locale)}"/>
<li th:text="${pet.breed.name}"/>
<li th:text="${pet.dewormed}? #{pet.dewormed} : #{pet.not.dewormed}"/>
<li th:text="${pet.sterilized}? #{pet.sterilized} : #{pet.not.sterilized}"/>
<li th:text="${pet.vaccinated}? #{pet.vaccinated} : #{pet.not.vaccinated}"/>
<li th:data-testid="petBirthdate" th:text="${@dateFormatter.formatToDate(pet.birthDate, #locale)}"/>
<li th:data-testid="petBreed" th:text="${pet.breed.name}"/>
<li th:data-testid="petDeworming" th:text="${pet.dewormed}? #{pet.dewormed} : #{pet.not.dewormed}"/>
<li th:data-testid="petSterilized" th:text="${pet.sterilized}? #{pet.sterilized} : #{pet.not.sterilized}"/>
<li th:data-testid="petVaccinated" th:text="${pet.vaccinated}? #{pet.vaccinated} : #{pet.not.vaccinated}"/>
<br/>
<table th:if="${!pet.vaccines.isEmpty()}">
<thead>
Expand Down

0 comments on commit e853900

Please sign in to comment.