Skip to content

Commit 0dcceed

Browse files
Feature/agnostic texts (#63)
* Remove explicit hardcoded "DOME" references in UI * update version * fix typo * text fix: make "Wallet" masculin in CAT and ES login templates
1 parent 09d85f2 commit 0dcceed

File tree

5 files changed

+30
-26
lines changed

5 files changed

+30
-26
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [v2.0.4](https://github.com/in2workspace/in2-verifier-api/releases/tag/v2.0.4)
8+
### Removed
9+
- Remove hardcoded visible "DOME" references in UI.
10+
711
## [v2.0.3](https://github.com/in2workspace/in2-verifier-api/releases/tag/v2.0.3)
812
### Changed
913
- For frontend pages, set language from Accept-Language header before using default language.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
}
1111

1212
group = 'es.in2'
13-
version = '2.0.3'
13+
version = '2.0.4'
1414

1515
java {
1616
toolchain {

src/main/resources/templates/login-ca.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ <h3>La teva organització ha d’estar registrada al Marketplace abans d’inici
337337
<div class="instructions">
338338
<h1 class="instructions-title">Instruccions d’inici de sessió:</h1>
339339
<ol>
340-
<li>Has d’iniciar sessió en una EUDI Wallet o en una <a th:href="${walletUri}">DOME Wallet</a> utilitzant el teu telèfon mòbil.</li>
340+
<li>Has d’iniciar sessió en un EUDI Wallet o en el nostre<a th:href="${walletUri}">Wallet Digital</a> utilitzant el teu telèfon mòbil.</li>
341341
<li>Escaneja el codi QR.</li>
342342
<li>Selecciona la credencial LEAR obtinguda després del procés de registre.</li>
343343
</ol>
@@ -347,14 +347,14 @@ <h1 class="instructions-title">Instruccions d’inici de sessió:</h1>
347347
<img id="qr-code" class="qr-image" th:src="${qrImage}" alt="Codi QR">
348348
</div>
349349
<div id="qr-title" class="qr-title additional-element">
350-
Escaneja el codi QR amb la teva EUDI Wallet o DOME Wallet per iniciar sessió
350+
Escaneja el codi QR amb un EUDI Wallet o el nostre Wallet Digital per iniciar sessió
351351
</div>
352352
<div id="same-device-title" class="additional-element" style="display: none;">
353353
<h3>Inici de sessió des del mateix dispositiu</h3>
354354
</div>
355-
<button id="dome-wallet-button" class="action-button" style="display: none;">
355+
<button id="tenant-wallet-button" class="action-button" style="display: none;">
356356
<i class="fa-solid fa-wallet"></i>
357-
DOME Wallet
357+
Wallet Digital
358358
</button>
359359
</div>
360360
</div>
@@ -403,7 +403,7 @@ <h3>Inici de sessió des del mateix dispositiu</h3>
403403
document.getElementById('qr-title').style.display = 'none';
404404
document.getElementById('qr-code').style.display = 'none';
405405
document.getElementById('same-device-title').style.display = 'block';
406-
document.getElementById('dome-wallet-button').style.display = 'flex';
406+
document.getElementById('tenant-wallet-button').style.display = 'flex';
407407
}
408408

409409
// Function to switch to QR login flow
@@ -412,13 +412,13 @@ <h3>Inici de sessió des del mateix dispositiu</h3>
412412
document.getElementById('qr-title').style.display = 'block';
413413
document.getElementById('qr-code').style.display = 'block';
414414
document.getElementById('same-device-title').style.display = 'none';
415-
document.getElementById('dome-wallet-button').style.display = 'none';
415+
document.getElementById('tenant-wallet-button').style.display = 'none';
416416
}
417417

418418
// Function to configure the wallet button with the authRequest URL
419419
function configureAuthRequest() {
420420
console.log('Configuring auth request'); // Log for debugging
421-
const walletButton = document.getElementById('dome-wallet-button');
421+
const walletButton = document.getElementById('tenant-wallet-button');
422422
if (authRequest) {
423423
let walletUri = authRequest.replace("openid4vp://", "https://wallet.dome-marketplace.org");
424424
walletButton.onclick = () => {

src/main/resources/templates/login-en.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -322,12 +322,12 @@
322322
</head>
323323
<body>
324324
<div class="header">
325-
<img th:src="@{/img/{file}(file=${logoSrc})}" alt="DOME White Logo" th:attr="onclick='window.location.href = \'' + ${homeUri} + '\''" style="cursor: pointer;">
325+
<img th:src="@{/img/{file}(file=${logoSrc})}" alt="White Logo" th:attr="onclick='window.location.href = \'' + ${homeUri} + '\''" style="cursor: pointer;">
326326
</div>
327327
<div class="page">
328328
<div class="container">
329329
<div class="registration-card">
330-
<h3>Your organization must be registered in the marketplace before you log in.</h3>
330+
<h3>Your organization must be registered before you log in.</h3>
331331
<button th:attr="onclick='window.location.href = \'' + ${onboardingUri} + '\''">
332332
Onboarding
333333
</button>
@@ -337,8 +337,8 @@ <h3>Your organization must be registered in the marketplace before you log in.</
337337
<div class="instructions">
338338
<h1 class="instructions-title">Login instructions:</h1>
339339
<ol>
340-
<li>You must log in to an EUDI Wallet or to a <a
341-
th:href="${walletUri}">DOME Wallet</a> using your smartphone.</li>
340+
<li>You must log in to an EUDI Wallet or to our <a
341+
th:href="${walletUri}">Digital Wallet</a> using your smartphone.</li>
342342
<li>Scan the QR code.</li>
343343
<li>Select the LEAR credential obtained after registration process.</li>
344344
</ol>
@@ -348,14 +348,14 @@ <h1 class="instructions-title">Login instructions:</h1>
348348
<img id="qr-code" class="qr-image" th:src="${qrImage}" alt="QR Code">
349349
</div>
350350
<div id="qr-title" class="qr-title additional-element">
351-
Scan the QR with your EUDI wallet or DOME wallet to log in
351+
Scan the QR with your EUDI Wallet or our Digital Wallet to log in
352352
</div>
353353
<div id="same-device-title" class="additional-element" style="display: none;">
354354
<h3>Login from the same device</h3>
355355
</div>
356-
<button id="dome-wallet-button" class="action-button" style="display: none;">
356+
<button id="tenant-wallet-button" class="action-button" style="display: none;">
357357
<i class="fa-solid fa-wallet"></i>
358-
DOME Wallet
358+
Digital Wallet
359359
</button>
360360
</div>
361361
</div>
@@ -391,7 +391,7 @@ <h3>Login from the same device</h3>
391391
document.getElementById('qr-title').style.display = 'none';
392392
document.getElementById('qr-code').style.display = 'none';
393393
document.getElementById('same-device-title').style.display = 'block';
394-
document.getElementById('dome-wallet-button').style.display = 'flex';
394+
document.getElementById('tenant-wallet-button').style.display = 'flex';
395395
}
396396

397397
// Function to switch to QR login flow
@@ -400,13 +400,13 @@ <h3>Login from the same device</h3>
400400
document.getElementById('qr-title').style.display = 'block';
401401
document.getElementById('qr-code').style.display = 'block';
402402
document.getElementById('same-device-title').style.display = 'none';
403-
document.getElementById('dome-wallet-button').style.display = 'none';
403+
document.getElementById('tenant-wallet-button').style.display = 'none';
404404
}
405405

406406
// Function to configure the wallet button with the authRequest URL
407407
function configureAuthRequest() {
408408
console.log('Configuring auth request'); // Log for debugging
409-
const walletButton = document.getElementById('dome-wallet-button');
409+
const walletButton = document.getElementById('tenant-wallet-button');
410410
if (authRequest) {
411411
let walletUri = authRequest.replace("openid4vp://", "https://wallet.dome-marketplace.org");
412412
walletButton.onclick = () => {

src/main/resources/templates/login-es.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@
327327
<div class="page">
328328
<div class="container">
329329
<div class="registration-card">
330-
<h3>Tu organización debe estar registrada en el Marketplace antes de iniciar sesión.</h3>
330+
<h3>Tu organización debe estar registrada antes de iniciar sesión.</h3>
331331
<button th:attr="onclick='window.location.href = \'' + ${onboardingUri} + '\''">
332332
Registro
333333
</button>
@@ -337,7 +337,7 @@ <h3>Tu organización debe estar registrada en el Marketplace antes de iniciar se
337337
<div class="instructions">
338338
<h1 class="instructions-title">Instrucciones de inicio de sesión:</h1>
339339
<ol>
340-
<li>Debes iniciar sesión en una EUDI Wallet o en una <a th:href="${walletUri}">DOME Wallet</a> utilizando tu teléfono móvil.</li>
340+
<li>Debes iniciar sesión en un EUDI Wallet o en nuestro <a th:href="${walletUri}">Wallet Digital</a> utilizando tu teléfono móvil.</li>
341341
<li>Escanea el código QR.</li>
342342
<li>Selecciona la credencial LEAR obtenida tras el proceso de registro.</li>
343343
</ol>
@@ -347,14 +347,14 @@ <h1 class="instructions-title">Instrucciones de inicio de sesión:</h1>
347347
<img id="qr-code" class="qr-image" th:src="${qrImage}" alt="Código QR">
348348
</div>
349349
<div id="qr-title" class="qr-title additional-element">
350-
Escanea el código QR con tu EUDI Wallet o DOME Wallet para iniciar sesión
350+
Escanea el código QR con un EUDI Wallet o nuestro Wallet Digital para iniciar sesión
351351
</div>
352352
<div id="same-device-title" class="additional-element" style="display: none;">
353353
<h3>Inicio de sesión desde el mismo dispositivo</h3>
354354
</div>
355-
<button id="dome-wallet-button" class="action-button" style="display: none;">
355+
<button id="tenant-wallet-button" class="action-button" style="display: none;">
356356
<i class="fa-solid fa-wallet"></i>
357-
DOME Wallet
357+
Wallet Digital
358358
</button>
359359
</div>
360360
</div>
@@ -389,7 +389,7 @@ <h3>Inicio de sesión desde el mismo dispositivo</h3>
389389
document.getElementById('qr-title').style.display = 'none';
390390
document.getElementById('qr-code').style.display = 'none';
391391
document.getElementById('same-device-title').style.display = 'block';
392-
document.getElementById('dome-wallet-button').style.display = 'flex';
392+
document.getElementById('tenant-wallet-button').style.display = 'flex';
393393
}
394394

395395
// Function to switch to QR login flow
@@ -398,13 +398,13 @@ <h3>Inicio de sesión desde el mismo dispositivo</h3>
398398
document.getElementById('qr-title').style.display = 'block';
399399
document.getElementById('qr-code').style.display = 'block';
400400
document.getElementById('same-device-title').style.display = 'none';
401-
document.getElementById('dome-wallet-button').style.display = 'none';
401+
document.getElementById('tenant-wallet-button').style.display = 'none';
402402
}
403403

404404
// Function to configure the wallet button with the authRequest URL
405405
function configureAuthRequest() {
406406
console.log('Configuring auth request'); // Log for debugging
407-
const walletButton = document.getElementById('dome-wallet-button');
407+
const walletButton = document.getElementById('tenant-wallet-button');
408408
if (authRequest) {
409409
let walletUri = authRequest.replace("openid4vp://", "https://wallet.dome-marketplace.org");
410410
walletButton.onclick = () => {

0 commit comments

Comments
 (0)