fix bug that made team mailing lists not show on the website
This commit is contained in:
parent
95f8b2b87d
commit
aa67c49dd6
|
@ -26,7 +26,7 @@
|
||||||
<h5>Mailing List</h5>
|
<h5>Mailing List</h5>
|
||||||
{% if team.mailing_list and request.user in team.approved_members.all %}
|
{% 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>
|
<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.mailinglist_nonmember_posts %}
|
{% 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 <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>
|
||||||
{% else %}
|
{% 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>.
|
<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>.
|
||||||
|
|
Loading…
Reference in a new issue