8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 19:33:11 +00:00

Précision que le texte est pour le mail de bienvenue

This commit is contained in:
Maël Kervella 2017-09-09 14:09:49 +00:00 committed by Pierre Cadart
parent 6383016fbf
commit ea55c51c9d
2 changed files with 4 additions and 4 deletions

View file

@ -93,8 +93,8 @@ class EditMailMessageOptionForm(ModelForm):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(EditMailMessageOptionForm, self).__init__(*args, **kwargs) super(EditMailMessageOptionForm, self).__init__(*args, **kwargs)
self.fields['welcome_mail_fr'].label = 'Message dans le mail d\'accueil en français' self.fields['welcome_mail_fr'].label = 'Message dans le mail de bienvenue en français'
self.fields['welcome_mail_en'].label = 'Message dans le mail d\'accueil en anglais' self.fields['welcome_mail_en'].label = 'Message dans le mail de bienvenue en anglais'
class ServiceForm(ModelForm): class ServiceForm(ModelForm):
class Meta: class Meta:

View file

@ -171,11 +171,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</p> </p>
<table class="table table-striped"> <table class="table table-striped">
<tr> <tr>
<th>Message Français</th> <th>Mail de bienvenue (Français)</th>
<td>{{ mailmessageoptions.welcome_mail_fr | safe }}</td> <td>{{ mailmessageoptions.welcome_mail_fr | safe }}</td>
</tr> </tr>
<tr> <tr>
<th>Message Anglais</th> <th>Mail de bienvenue (Anglais)</th>
<td>{{ mailmessageoptions.welcome_mail_en | safe }}</td> <td>{{ mailmessageoptions.welcome_mail_en | safe }}</td>
</tr> </tr>
</table> </table>