Skip to content

Commit

Permalink
fix contact link (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmodamioin2 authored Nov 25, 2024
1 parent 05482de commit 2ccfb8f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v1.0.13](https://github.com/in2workspace/in2-verifier-api/releases/tag/v1.0.13)
### Fixed
- Fix contact us link not working

## [v1.0.12](https://github.com/in2workspace/in2-verifier-api/releases/tag/v1.0.12)
### Fixed
- Unauthorized Http response code for failed validation of VP token
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

group = 'es.in2'
version = '1.0.12'
version = '1.0.13'

java {
toolchain {
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/templates/client-authentication-error.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
</div>
</div>
<div class="help">
Need help? <a th:href="@{/contact-us}">Contact us</a> and provide us with the information above, so we can assist you.
Need help? <a th:href="${supportUri}">Contact us</a> and provide us with the information above, so we can assist you.
</div>
</div>

Expand All @@ -166,14 +166,14 @@

<script>
function copyInfoBoxToClipboard() {
// Seleccionando el texto de cada campo
// Select the text of each field
const errorCode = document.querySelector('.info-box-item:nth-child(1) span').innerText;
const clientUrl = document.querySelector('.info-box-item:nth-child(2) span').innerText;

// Concatenando toda la información para copiarla
// Concatenating all the information to copy
const fullText = `Error Code: ${errorCode}\nClient: ${clientUrl}\nOriginal Request: ${originalUrl}`;

// Copiar al portapapeles
// Copy to clipboard
navigator.clipboard.writeText(fullText).then(() => {
const copyButton = document.querySelector('.copy-button');
copyButton.style.backgroundColor = 'var(--error-box-background)';
Expand Down

0 comments on commit 2ccfb8f

Please sign in to comment.