1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-08-14 09:56:38 +02:00

No hard coded phone number in template

This commit is contained in:
Ehouarn
2025-08-13 16:02:59 +02:00
parent f13a44702a
commit 80f28aa771
2 changed files with 17 additions and 1 deletions

View File

@@ -190,7 +190,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
<li>The name of the challenge</li>
<li>A photo or video as proof</li>
</ul>
<p><strong>Send it via WhatsApp to:<a href="tel:+33630211244"></strong> +33 6 30 21 12 44</a></p>
<p>
<strong>Send it via WhatsApp to:
{% for num in phone_numbers %}
<a href="https://wa.me/{{ num }}" target="_blank">{{ num }}</a>{% if not forloop.last %}, {% endif %}
{% endfor %}
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">{% trans "OK" %}</button>