-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display a warning page when an issuer already exists with a given adr…
…ess in DB
- Loading branch information
1 parent
2737ba6
commit 25a4990
Showing
15 changed files
with
282 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
aidants_connect_habilitation/templates/email/issuer_profile_reminder.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{% extends "layouts/email_base.html" %} | ||
{% block email_body %} | ||
<table border="0" cellpadding="0" cellspacing="0" class="body"> | ||
<tr> | ||
<td> </td> | ||
<td class="container"> | ||
<div class="content"> | ||
<table class="main"> | ||
<tr> | ||
<td class="wrapper"> | ||
<table border="0" cellpadding="6" cellspacing="0"> | ||
<tr> | ||
<td> | ||
<p>Bonjour,</p> | ||
<p> | ||
Vous venez de tenter de créer un nouveau profil demandeur sur la page d'habilitations Aidants | ||
Connect avec une adresse email qui existe déjà dans notre basse de données. Notez que si vous | ||
souhaitez poduire une nouvelle demande d'habilitation pour une organisation, ou modifier une | ||
demande existante, <a href="{{ url }}">vous pouvez visualiser toutes vos demandes en cours | ||
en suivant ce lien</a> ou, si cela ne fonctionne pas, en copiant l'URL suivante dans votre | ||
navigateur : | ||
</p> | ||
<p>{{ url }}</p> | ||
|
||
<p>Bonne journée,</p> | ||
<p>L'équipe Aidants Connect</p> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
{% endblock %} |
16 changes: 16 additions & 0 deletions
16
aidants_connect_habilitation/templates/email/issuer_profile_reminder.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% load ac_common %} | ||
|
||
Bonjour, | ||
|
||
{% linebreakless %} | ||
Vous venez de tenter de créer un nouveau profil demandeur sur la page d'habilitations Aidants | ||
Connect avec une adresse email qui existe déjà dans notre basse de données.{% keeplinebreak %} | ||
Notez que si vous souhaitez poduire une nouvelle demande d'habilitation pour une organisation, | ||
ou modifier une demande existante, vous pouvez visualiser toutes vos demandes en cours en copiant | ||
l'URL suivante dans votre navigateur :{% keeplinebreak %} | ||
{% keeplinebreak %} | ||
{{ url }} | ||
{% endlinebreakless %} | ||
|
||
Bonne journée, | ||
L'équipe Aidants Connect |
25 changes: 25 additions & 0 deletions
25
aidants_connect_habilitation/templates/issuer_already_exists_warning.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% extends 'layouts/main-habilitation.html' %} | ||
{% load static form_extras %} | ||
|
||
{% block title %} | ||
Aidants Connect - Un compte demandeur existe déjà | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div class="fr-container"> | ||
<div class="fr-grid-row fr-grid-row--gutters"> | ||
<div class="fr-col-12 fr-col-md-8"> | ||
<h2>Un profil demandeur avec cet email existe déjà !</h2> | ||
<div class="shadowed"> | ||
<p> | ||
Un profil avec cette adresse email existe déjà. Nous venons d'envoyer un email à cette adresse contenant | ||
un lien où vous pourrez retrouver toutes les demandes faites avec ce profil. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{% include "_more-info.html" %} | ||
|
||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lates/aidants_connect_web/espace_responsable/confirm-remove-aidant-from-organisation.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
aidants_connect_web/templates/aidants_connect_web/managment/notify_no_totp_workers.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
aidants_connect_web/templates/aidants_connect_web/managment/notify_no_totp_workers.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
aidants_connect_web/templates/signals/aidant__organisations_changed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{% load ac_extras %} | ||
{% load ac_extras ac_common %} | ||
|
||
Bonjour, | ||
|
||
|
Oops, something went wrong.