Skip to content

Commit

Permalink
#224 Update index.html (#265)
Browse files Browse the repository at this point in the history
* #224 Update index.html

* #224 Update build.gradle
  • Loading branch information
conorheffron authored Sep 27, 2024
1 parent dc47191 commit 6bb29dd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
13 changes: 5 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ apply plugin: 'war'
apply plugin: 'maven-publish'

group = 'conorheffron'
version = '5.2.4'
version = '5.2.5'
description = "Sample Data Manager"

sourceCompatibility = 21
Expand Down Expand Up @@ -116,7 +116,7 @@ integrationTest {
// Build executable war file
tasks.war {
enabled = true
// Remove `plain` postfix from jar file name
// Remove `plain` postfix from war file name
archiveClassifier.set("")
}

Expand All @@ -132,11 +132,8 @@ publishing {
}
}
publications {
register("war", MavenPublication) {
from(components["java"])
pom {
url.set("https://github.com/conorheffron/ironoc-db.git")
}
}
mavenWeb(MavenPublication) {
from components.web
}
}
}
8 changes: 8 additions & 0 deletions src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ <h3>Employees</h3>
<td><a th:href="@{/edit/{id}(id=${person.id})}" class="btn btn-primary btn-sm rounded-0" type="button"><i class="fa fa-edit"></i></a></td>
<td><a th:href="@{/delete/{id}(id=${person.id})}" class="btn btn-primary btn-sm rounded-0" type="button"><i class="fa fa-trash"></i></a></td>
</tr>
<tr>
<td colspan="3" />
<td><b th:text="${#aggregates.avg(personsList.![age])}" /> is the Average Employee Age</td>
</tr>
<tr>
<td colspan="6" />
<td><b th:text="${#aggregates.sum(personsList.![age])}" /> is the Sum of Ages</td>
</tr>
</tbody>
</table>
</div>
Expand Down

0 comments on commit 6bb29dd

Please sign in to comment.