mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-10-31 07:49:57 +01:00 
			
		
		
		
	Replace contact email
This commit is contained in:
		| @@ -9,5 +9,5 @@ DJANGO_DB_PORT="" | ||||
| DJANGO_SECRET_KEY="CHANGE_ME" | ||||
| DJANGO_SETTINGS_MODULE="note_kfet.settings" | ||||
| DOMAIN="localhost" | ||||
| MAILING_LIST_DOMAIN="localhost" | ||||
| CONTACT_EMAIL="tresorerie.bde@localhost" | ||||
| NOTE_URL="localhost" | ||||
|   | ||||
| @@ -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_SETTINGS_MODULE="note_kfet.settings" | ||||
|         DOMAIN="localhost" | ||||
|         MAILING_LIST_DOMAIN="localhost" | ||||
|         CONTACT_EMAIL="tresorerie.bde@localhost" | ||||
|         NOTE_URL="localhost" | ||||
|  | ||||
|     Ensuite on (re)bascule dans l'environement virtuel et on lance les migrations | ||||
|   | ||||
| @@ -5,7 +5,7 @@ | ||||
| if [ -z ${NOTE_URL+x} ]; then | ||||
|   echo "Warning: your env files are not configurated." | ||||
| 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/\.\*/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 | ||||
|   | ||||
| @@ -128,7 +128,7 @@ SPDX-License-Identifier: GPL-3.0-or-later | ||||
|                       class="form-inline"> | ||||
|                     <span class="text-muted mr-1"> | ||||
|                         NoteKfet2020 — | ||||
|                         <a href="mailto:tresorie.bde@{{ "MAILING_LIST_DOMAIN" | getenv }}" | ||||
|                         <a href="mailto:{{ "CONTACT_EMAIL" | getenv }}" | ||||
|                            class="text-muted">Nous contacter</a> — | ||||
|                     </span> | ||||
|                     {% csrf_token %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user