-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Pet controller success msg #2362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
708288e
da1f7a4
19c5f46
13db3ee
deca6f1
70b427c
b774500
d8c55de
94fc35a
2c83887
a0fa874
b38e86a
b8af30f
2ce65df
6ae9627
efd7941
6fbd3da
967aae1
448eb19
9be2311
993eb5f
39a503d
685c828
1b84c1c
392c2b3
6cb6757
4fef434
bce820f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| name: Java CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| pull_request: | ||
| branches: [ main ] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Set up Java | ||
| uses: actions/setup-java@v3 | ||
| with: | ||
| java-version: '17' | ||
| distribution: 'temurin' | ||
|
|
||
| - name: Build with Maven | ||
| run: mvn clean install |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,19 +16,19 @@ <h2 th:text="#{ownerInformation}">Owner Information</h2> | |
|
|
||
| <table class="table table-striped" th:object="${owner}"> | ||
| <tr> | ||
| <th th:text="#{name}">Name</th> | ||
| <th th:text="#{name}">Owner's Name</th> | ||
| <td><b th:text="*{firstName + ' ' + lastName}"></b></td> | ||
| </tr> | ||
| <tr> | ||
| <th th:text="#{address}">Address</th> | ||
| <th th:text="#{address}">Owner's Address</th> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're inside Owner table, and there is a label Pet Owners Directorynot need to be Owner prefix in the columns. |
||
| <td th:text="*{address}"></td> | ||
| </tr> | ||
| <tr> | ||
| <th th:text="#{city}">City</th> | ||
| <th th:text="#{city}">Owner's City</th> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're inside Owner table, and there is a label Pet Owners Directorynot need to be Owner prefix in the columns. |
||
| <td th:text="*{city}"></td> | ||
| </tr> | ||
| <tr> | ||
| <th th:text="#{telephone}">Telephone</th> | ||
| <th th:text="#{telephone}">Owner's Telephone</th> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're inside Owner table, and there is a label Pet Owners Directorynot need to be Owner prefix in the columns. |
||
| <td th:text="*{telephone}"></td> | ||
| </tr> | ||
| </table> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,13 +4,13 @@ | |
|
|
||
| <body> | ||
|
|
||
| <h2 th:text="#{owners}">Owners</h2> | ||
| <h2 th:text="#{owners}">Pet Owners Directory</h2> | ||
|
|
||
| <table id="owners" class="table table-striped"> | ||
| <thead> | ||
| <tr> | ||
| <th th:text="#{name}" style="width: 150px;">Name</th> | ||
| <th th:text="#{address}" style="width: 200px;">Address</th> | ||
| <th th:text="#{name}" style="width: 150px;">Owner Name</th> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're inside Owner table, and there is a label Pet Owners Directorynot need to be Owner prefix in the columns. |
||
| <th th:text="#{address}" style="width: 200px;">Home Address</th> | ||
| <th th:text="#{city}">City</th> | ||
| <th th:text="#{telephone}" style="width: 120px">Telephone</th> | ||
| <th th:text="#{pets}">Pets</th> | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,13 +4,13 @@ | |||||||||
|
|
||||||||||
| <body> | ||||||||||
|
|
||||||||||
| <h2 th:text="#{vets}">Veterinarians</h2> | ||||||||||
| <h2 th:text="#{vets}">Veterinarian Directory</h2> | ||||||||||
|
||||||||||
| <h2 th:text="#{vets}">Veterinarian Directory</h2> | |
| <h2 th:text="#{vets}">Vets</h2> |
Copilot
AI
Apr 19, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These header text changes are only fallbacks; the actual rendered text comes from #{name} and #{specialties} (both defined in messages*.properties), so the page will still display the translated "Name" / "Specialties" strings. If you want the UI to read "Veterinarian Name" / "Areas of Expertise", introduce dedicated message keys (and translations) or change the existing message values (not just the fallback text).
| <th th:text="#{name}">Veterinarian Name</th> | |
| <th th:text="#{specialties}">Areas of Expertise</th> | |
| <th th:text="'Veterinarian Name'">Veterinarian Name</th> | |
| <th th:text="'Areas of Expertise'">Areas of Expertise</th> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why it's better the the old one?