diff --git a/pom.xml b/pom.xml index 29fc13f..e38b89f 100644 --- a/pom.xml +++ b/pom.xml @@ -14,9 +14,9 @@ UTF-8 quarkus-bom io.quarkus - 3.3.2 + 3.8.3 3.0.0-M5 - 3.0.4 + 3.0.9 diff --git a/src/main/resources/templates/tags/input.html b/src/main/resources/templates/tags/input.html index 8c29297..e111d87 100644 --- a/src/main/resources/templates/tags/input.html +++ b/src/main/resources/templates/tags/input.html @@ -4,5 +4,5 @@ {#if autofocus??}autofocus{/if} {#if id??}id="{id}"{/if} class="form-control {#ifError name}is-invalid{/ifError}" - maxlength="{VARCHAR_SIZE}" + maxlength="{global:VARCHAR_SIZE}" value="{inject:flash.get(name) ?: value??}"/> diff --git a/src/main/resources/templates/tags/user.html b/src/main/resources/templates/tags/user.html index 1ed2e22..ffe8d34 100644 --- a/src/main/resources/templates/tags/user.html +++ b/src/main/resources/templates/tags/user.html @@ -2,7 +2,7 @@ {#if img??} -{#gravatar it.email size=size.or(20) default='mm' /} +{#gravatar it.email size=size.or(20)/} {/if} {it.userName} {/if} \ No newline at end of file diff --git a/src/test/java/fr/epardaud/TodoResourceTest.java b/src/test/java/fr/epardaud/TodoResourceTest.java index c0e9819..240bf6d 100644 --- a/src/test/java/fr/epardaud/TodoResourceTest.java +++ b/src/test/java/fr/epardaud/TodoResourceTest.java @@ -206,7 +206,7 @@ private void testLoggedIn(String userName, String icon, Filter cookieFilter) { .body(containsString("Welcome, "+userName)) // user gravatar in menu .body(containsString("\n" - + "\n" + + "" + userName+"")) // Todo link .body(containsString("Todos")) @@ -386,7 +386,7 @@ private void finishConfirmation(RenardeCookieFilter cookieFilter, String confirm .body(containsString("Welcome, "+userName)) // user gravatar in menu .body(containsString("\n" - + "\n" + + "" + userName+"")) // Todo link .body(containsString("Todos"))