Merge branch 'sakarah/club-email-bug' into 'master'
Replace all "pont" by "." in COF clubs emails See merge request klub-dev-ens/gestioCOF!452
This commit is contained in:
commit
576d43f44d
2 changed files with 4 additions and 3 deletions
|
@ -27,6 +27,7 @@ adhérents ni des cotisations.
|
|||
|
||||
- Possibilité d'ajouter des champs d'infos supplémentaires en plus de l'email et
|
||||
de la page web dans les annuaires (clubs et partenaires).
|
||||
- Corrige un bug d'affichage des adresses emails de clubs
|
||||
|
||||
## Version 0.7 - 29/08/2020
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ $(function() {
|
|||
$(".facteur").on("click", function(){
|
||||
var $this = $(this);
|
||||
var sticker = $this.attr('data-mref')
|
||||
.replace('pont', '.')
|
||||
.replace('arbre', '@')
|
||||
.replace(/pont/g, '.')
|
||||
.replace(/arbre/g, '@')
|
||||
.replace(/(.)-/g, '$1');
|
||||
|
||||
var boite = $("<a>", {href:"ma"+"il"+"to:"+sticker}).text(sticker);
|
||||
|
|
Loading…
Reference in a new issue