Imposition of email format

This commit is contained in:
Chris Mann 2023-07-17 12:15:13 +02:00
parent b623433714
commit 5a84380979
4 changed files with 9 additions and 3 deletions

View File

@ -25,6 +25,11 @@
"group_can_admin": "gid=admin,ou=groups,dc=bottin,dc=eu", "group_can_admin": "gid=admin,ou=groups,dc=bottin,dc=eu",
"group_can_invite": "", "group_can_invite": "",
"mailing_list_base_dn": "ou=mailings,dc=resdigita,dc=org",
"mailing_list_name_attr": "cn",
"mailing_list_guest_user_base_dn": ""
"s3_admin_endpoint": "localhost:3903", "s3_admin_endpoint": "localhost:3903",
"s3_admin_token": "GlXP43PWH3LuvEGSNxKYzZCyUss8VqZmarBU+HUlrxw=", "s3_admin_token": "GlXP43PWH3LuvEGSNxKYzZCyUss8VqZmarBU+HUlrxw=",

View File

@ -33,12 +33,12 @@
{{if eq .Template "ml"}} {{if eq .Template "ml"}}
<div class="form-group"> <div class="form-group">
<label for="idvalue">Adresse complète de la mailing list :</label> <label for="idvalue">Adresse complète de la mailing list :</label>
<input type="text" id="idvalue" name="idvalue" class="form-control" value="{{ .IdValue }}" placeholder="exemple@resdigita.org" pattern="^[\w-\.]+@resdigita.org" /> <input type="text" id="idvalue" name="idvalue" class="form-control" value="{{ .IdValue }}" placeholder="exemple@resdigita.org" pattern="^[-A-z0-9\.]+@resdigita.org" />
</div> </div>
{{else}} {{else}}
<div class="form-group"> <div class="form-group">
<label for="idvalue">Identifiant :</label> <label for="idvalue">Identifiant :</label>
<input type="text" id="idvalue" name="idvalue" class="form-control" value="{{ .IdValue }}" placeholder="exemple@resdigita.org" pattern="^[\w-\.]+@resdigita.org"/> <input type="text" id="idvalue" name="idvalue" class="form-control" value="{{ .IdValue }}" placeholder="exemple@resdigita.org" pattern="^[-A-z0-9\.]+@resdigita.org" />
</div> </div>
{{end}} {{end}}
<div class="form-group"> <div class="form-group">

View File

@ -16,5 +16,6 @@
</div> </div>
<script src="/static/javascript/jquery.slim.min.js"></script> <script src="/static/javascript/jquery.slim.min.js"></script>
<script src="/static/javascript/bootstrap.bundle.min.js"></script> <script src="/static/javascript/bootstrap.bundle.min.js"></script>
<script src="/static/javascript/lesgv.js"></script>
</body> </body>
</html> </html>