Fixed group links 2

This commit is contained in:
a-ill 2023-08-05 21:36:35 +03:00
parent 74d86157ef
commit 8f4538d33c
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@
<div class="location-info">
<p><b>{$content.location}: </b>{getAddress(entry)}</p>
<p><b>{$content.members}: </b>{entry.members}</p>
{#if entry.contact.includes("@")}
{#if entry.contact.includes("@") && entry.contact.trim().split(" ").length==1}
<p><b>{$content.contact}: </b><a href={"mailto:" + entry.contact} target=;_blank; rel=noreferrer>{entry.contact}</a></p>
{:else if entry.contact.includes("http")}
<p><b>{$content.contact}: </b><a href={entry.contact} target=;_blank; rel=noreferrer>{entry.contact}</a></p>

File diff suppressed because one or more lines are too long