From 4ab5e5da7a4a5bc4cc8a5441c9ee77565c4755ac Mon Sep 17 00:00:00 2001 From: swapnil shinde Date: Sat, 4 Mar 2023 15:40:44 +0530 Subject: [PATCH] fix not clickable links (#1098) Co-authored-by: Fred Falcon <7475382+fredfalcon@users.noreply.github.com> --- website/templates/report.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/templates/report.html b/website/templates/report.html index c5d95de82..e3b896a77 100644 --- a/website/templates/report.html +++ b/website/templates/report.html @@ -148,18 +148,18 @@

REPORT A BUG

"
Sweet! We haven't got any bug from this domain till now" ); } else if (trint.number == 2) { - var link = "{% env 'FQDN' %}/domain/" + trint.domain; + var link = "/domain/" + trint.domain; $('.message').html( "
Multiple bugs already exist on this domain, ensure you are not submitting a duplicate bug by going here:
" + - link); + `{% env 'FQDN' %}${link}`); } else if (trint.number == 1) { - var link = "{% env 'FQDN' %}/issue/" + trint.id; + var link = "/issue/" + trint.id; $('.message').html( "
A bug with same URL already exists
Description: " + trint.description + "
Created on: " + trint.date + "/" + trint.month + "/" + trint.year + "
Ensure you are not submitting a duplicate bug by checking here
: " + - link); + `{% env 'FQDN' %}${link}`); } }, error: function (response) {