make mailing list email a link

This commit is contained in:
Thomas Steen Rasmussen 2021-08-19 08:33:47 +02:00
parent aa67c49dd6
commit 26201be541

View file

@ -27,7 +27,7 @@
{% if team.mailing_list and request.user in team.approved_members.all %}
<p>The {{ team.name }} Team mailinglist is <b>{{ team.mailing_list }}</b>{% if team.mailing_list_archive_public %}, and the archives are publicly available{% endif %}. You should sign up for the list if you haven't already.</p>
{% elif team.mailing_list and team.mailing_list_nonmember_posts %}
<p>The {{ team.name }} Team mailinglist is <b>{{ team.mailing_list }}</b>{% if team.mailing_list_archive_public %}, and the archives are publicly available{% endif %}. You do not need to be a member of the list to post to it.</p>
<p>The {{ team.name }} Team mailinglist is <a href="mailto:{{ team.mailing_list }}">{{ team.mailing_list }}</a>{% if team.mailing_list_archive_public %}, and the archives are publicly available{% endif %}. You do not need to be a member of the list to post to it, so you can contact the {{ team.name }} Team using this email address.</p>
{% else %}
<p>The {{ team.name }} Team does not have a public mailing list, but it can be contacted through our main email <a href="mailto:info@bornhack.dk">info@bornhack.dk</a>.
{% endif %}