mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 22:35:50 +00:00
Add schedule visit functionality and internationalization support for actions
This commit is contained in:
parent
6178b702b6
commit
18819eb1c9
9 changed files with 32 additions and 0 deletions
|
@ -46,3 +46,6 @@ visitDate=Visit Date
|
||||||
editOwner=Edit Owner
|
editOwner=Edit Owner
|
||||||
addNewPet=Add New Pet
|
addNewPet=Add New Pet
|
||||||
petsAndVisits=Pets and Visits
|
petsAndVisits=Pets and Visits
|
||||||
|
actions=Actions
|
||||||
|
scheduleVisit=Schedule Visit
|
||||||
|
scheduleVisitTooltip=Click to schedule a new visit for this pet
|
||||||
|
|
|
@ -46,3 +46,6 @@ visitDate=Besuchsdatum
|
||||||
editOwner=Besitzer bearbeiten
|
editOwner=Besitzer bearbeiten
|
||||||
addNewPet=Neues Haustier hinzufügen
|
addNewPet=Neues Haustier hinzufügen
|
||||||
petsAndVisits=Haustiere und Besuche
|
petsAndVisits=Haustiere und Besuche
|
||||||
|
actions=Aktionen
|
||||||
|
scheduleVisit=Besuch Planen
|
||||||
|
scheduleVisitTooltip=Klicken Sie hier, um einen neuen Besuch für dieses Haustier zu planen
|
||||||
|
|
|
@ -46,3 +46,6 @@ visitDate=Fecha de visita
|
||||||
editOwner=Editar propietario
|
editOwner=Editar propietario
|
||||||
addNewPet=Agregar nueva mascota
|
addNewPet=Agregar nueva mascota
|
||||||
petsAndVisits=Mascotas y visitas
|
petsAndVisits=Mascotas y visitas
|
||||||
|
actions=Acciones
|
||||||
|
scheduleVisit=Programar Visita
|
||||||
|
scheduleVisitTooltip=Haz clic para programar una nueva visita para esta mascota
|
||||||
|
|
|
@ -46,3 +46,6 @@ visitDate=تاریخ ویزیت
|
||||||
editOwner=ویرایش مالک
|
editOwner=ویرایش مالک
|
||||||
addNewPet=افزودن حیوان خانگی جدید
|
addNewPet=افزودن حیوان خانگی جدید
|
||||||
petsAndVisits=حیوانات و ویزیتها
|
petsAndVisits=حیوانات و ویزیتها
|
||||||
|
actions=عملیات
|
||||||
|
scheduleVisit=برنامهریزی ویزیت
|
||||||
|
scheduleVisitTooltip=برای برنامهریزی ویزیت جدید برای این حیوان کلیک کنید
|
||||||
|
|
|
@ -46,3 +46,6 @@ visitDate=방문 날짜
|
||||||
editOwner=소유자 수정
|
editOwner=소유자 수정
|
||||||
addNewPet=새 반려동물 추가
|
addNewPet=새 반려동물 추가
|
||||||
petsAndVisits=반려동물 및 방문
|
petsAndVisits=반려동물 및 방문
|
||||||
|
actions=작업
|
||||||
|
scheduleVisit=방문 예약
|
||||||
|
scheduleVisitTooltip=이 반려동물의 새로운 방문을 예약하려면 클릭하세요
|
||||||
|
|
|
@ -46,3 +46,6 @@ visitDate=Data da visita
|
||||||
editOwner=Editar proprietário
|
editOwner=Editar proprietário
|
||||||
addNewPet=Adicionar novo animal
|
addNewPet=Adicionar novo animal
|
||||||
petsAndVisits=Animais e visitas
|
petsAndVisits=Animais e visitas
|
||||||
|
actions=Ações
|
||||||
|
scheduleVisit=Agendar Visita
|
||||||
|
scheduleVisitTooltip=Clique para agendar uma nova visita para este animal
|
||||||
|
|
|
@ -46,3 +46,6 @@ visitDate=Дата визита
|
||||||
editOwner=Редактировать владельца
|
editOwner=Редактировать владельца
|
||||||
addNewPet=Добавить нового питомца
|
addNewPet=Добавить нового питомца
|
||||||
petsAndVisits=Питомцы и визиты
|
petsAndVisits=Питомцы и визиты
|
||||||
|
actions=Действия
|
||||||
|
scheduleVisit=Запланировать Визит
|
||||||
|
scheduleVisitTooltip=Нажмите, чтобы запланировать новый визит для этого питомца
|
||||||
|
|
|
@ -46,3 +46,6 @@ visitDate=Ziyaret Tarihi
|
||||||
editOwner=Sahibi Düzenle
|
editOwner=Sahibi Düzenle
|
||||||
addNewPet=Yeni Evcil Hayvan Ekle
|
addNewPet=Yeni Evcil Hayvan Ekle
|
||||||
petsAndVisits=Evcil Hayvanlar ve Ziyaretler
|
petsAndVisits=Evcil Hayvanlar ve Ziyaretler
|
||||||
|
actions=İşlemler
|
||||||
|
scheduleVisit=Ziyaret Planla
|
||||||
|
scheduleVisitTooltip=Bu evcil hayvan için yeni bir ziyaret planlamak için tıklayın
|
||||||
|
|
|
@ -68,15 +68,23 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th th:text="#{visitDate}">Visit Date</th>
|
<th th:text="#{visitDate}">Visit Date</th>
|
||||||
<th th:text="#{description}">Description</th>
|
<th th:text="#{description}">Description</th>
|
||||||
|
<th th:text="#{actions}">Actions</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tr th:each="visit : ${pet.visits}">
|
<tr 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>
|
||||||
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a th:href="@{__${owner.id}__/pets/__${pet.id}__/edit}" th:text="#{editPet}">Edit Pet</a></td>
|
<td><a th:href="@{__${owner.id}__/pets/__${pet.id}__/edit}" th:text="#{editPet}">Edit Pet</a></td>
|
||||||
<td><a th:href="@{__${owner.id}__/pets/__${pet.id}__/visits/new}" th:text="#{addVisit}">Add Visit</a></td>
|
<td><a th:href="@{__${owner.id}__/pets/__${pet.id}__/visits/new}" th:text="#{addVisit}">Add Visit</a></td>
|
||||||
|
<td>
|
||||||
|
<a th:href="@{__${owner.id}__/pets/__${pet.id}__/visits/new}"
|
||||||
|
class="btn btn-primary btn-sm"
|
||||||
|
th:title="#{scheduleVisitTooltip}"
|
||||||
|
th:text="#{scheduleVisit}">Schedule Visit</a>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue