From 7da61f81a7528294e3e0bba313696978f346686c Mon Sep 17 00:00:00 2001 From: Jakob Willforss Date: Fri, 15 Nov 2024 14:21:43 +0100 Subject: [PATCH] Remove link breaking leading slashes --- CHANGELOG.md | 1 + gens/templates/generic_abort_error.html | 4 ++-- gens/templates/generic_exception_error.html | 4 ++-- gens/templates/sample_not_found.html | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85dc55ff..a821ae1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ About changelog [here](https://keepachangelog.com/en/1.0.0/) - Fixed some typos and removed console.logs - Renamed docker compose processes to not be prefixed markus_ - Use sample id as individual id to link out from Gens home sample list + - Removes some leading `/` that were breaking links ## [2.1.2] ### Added diff --git a/gens/templates/generic_abort_error.html b/gens/templates/generic_abort_error.html index e9c59413..6b9fa98c 100644 --- a/gens/templates/generic_abort_error.html +++ b/gens/templates/generic_abort_error.html @@ -4,13 +4,13 @@ {% block css_style %} {{ super() }} - + {% endblock css_style %} {% block body %}

{{ error_code }}

- broken DNA + broken DNA

Something went wrong

Gens encountered and error. Please contact the administrator to resolve this issue.

diff --git a/gens/templates/generic_exception_error.html b/gens/templates/generic_exception_error.html index c9cd7630..4b83d1f0 100644 --- a/gens/templates/generic_exception_error.html +++ b/gens/templates/generic_exception_error.html @@ -4,12 +4,12 @@ {% block css_style %} {{ super() }} - + {% endblock css_style %} {% block body %}
- broken DNA + broken DNA

Error - {{ error_type }}

{% for row in message %} diff --git a/gens/templates/sample_not_found.html b/gens/templates/sample_not_found.html index 708b98b4..1a6929f4 100644 --- a/gens/templates/sample_not_found.html +++ b/gens/templates/sample_not_found.html @@ -4,12 +4,12 @@ {% block css_style %} {{ super() }} - + {% endblock css_style %} {% block body %}
- broken DNA + broken DNA

Missing sample

The sample {{ file_name }} has not been added to Gens database. Please contact the administrator to resolve this issue.