1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

Replace contact email

This commit is contained in:
Yohann D'ANELLO 2020-03-11 17:51:42 +01:00
parent 695ef446ec
commit d8a785d309
4 changed files with 4 additions and 4 deletions

View File

@ -9,5 +9,5 @@ DJANGO_DB_PORT=""
DJANGO_SECRET_KEY="CHANGE_ME" DJANGO_SECRET_KEY="CHANGE_ME"
DJANGO_SETTINGS_MODULE="note_kfet.settings" DJANGO_SETTINGS_MODULE="note_kfet.settings"
DOMAIN="localhost" DOMAIN="localhost"
MAILING_LIST_DOMAIN="localhost" CONTACT_EMAIL="tresorerie.bde@localhost"
NOTE_URL="localhost" NOTE_URL="localhost"

View File

@ -111,7 +111,7 @@ On supposera pour la suite que vous utiliser debian/ubuntu sur un serveur tout n
DJANGO_SECRET_KEY="CHANGE_ME" DJANGO_SECRET_KEY="CHANGE_ME"
DJANGO_SETTINGS_MODULE="note_kfet.settings" DJANGO_SETTINGS_MODULE="note_kfet.settings"
DOMAIN="localhost" DOMAIN="localhost"
MAILING_LIST_DOMAIN="localhost" CONTACT_EMAIL="tresorerie.bde@localhost"
NOTE_URL="localhost" NOTE_URL="localhost"
Ensuite on (re)bascule dans l'environement virtuel et on lance les migrations Ensuite on (re)bascule dans l'environement virtuel et on lance les migrations

View File

@ -5,7 +5,7 @@
if [ -z ${NOTE_URL+x} ]; then if [ -z ${NOTE_URL+x} ]; then
echo "Warning: your env files are not configurated." echo "Warning: your env files are not configurated."
else else
sed -i -e "s/example.com/$MAILING_LIST_DOMAIN/g" /code/apps/member/fixtures/initial.json sed -i -e "s/example.com/$DOMAIN/g" /code/apps/member/fixtures/initial.json
sed -i -e "s/localhost/$NOTE_URL/g" /code/note_kfet/fixtures/initial.json sed -i -e "s/localhost/$NOTE_URL/g" /code/note_kfet/fixtures/initial.json
sed -i -e "s/\.\*/https?:\/\/$NOTE_URL\/.*/g" /code/note_kfet/fixtures/cas.json sed -i -e "s/\.\*/https?:\/\/$NOTE_URL\/.*/g" /code/note_kfet/fixtures/cas.json
sed -i -e "s/REPLACEME/La Note Kfet \\\\ud83c\\\\udf7b/g" /code/note_kfet/fixtures/cas.json sed -i -e "s/REPLACEME/La Note Kfet \\\\ud83c\\\\udf7b/g" /code/note_kfet/fixtures/cas.json

View File

@ -128,7 +128,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
class="form-inline"> class="form-inline">
<span class="text-muted mr-1"> <span class="text-muted mr-1">
NoteKfet2020 &mdash; NoteKfet2020 &mdash;
<a href="mailto:tresorie.bde@{{ "MAILING_LIST_DOMAIN" | getenv }}" <a href="mailto:{{ "CONTACT_EMAIL" | getenv }}"
class="text-muted">Nous contacter</a> &mdash; class="text-muted">Nous contacter</a> &mdash;
</span> </span>
{% csrf_token %} {% csrf_token %}