Dernière publication:06/09/2018à 09:03RaphaëlFranchet
La version 1.5.0 apporte une gestion de l'affichage des erreurs du serveur de messagerie/agenda
Gestion des messages d'erreur
Cette migration graphique est nécessaire uniquement si vous utilisez les templates XSL "messaging-connector-card" et "script-js-messaging-connector" dans votre charte graphique.
Gestion et affichage des messages d'erreurs
Deux élements <span> ont été ajoutés pour gérer les cas d'erreurs.
messaging-user-infos-error-server : affichera le message d'erreur du serveur
messaging-user-infos-error-change-password : lien pour le changement de mot de passe
Si vous avez surcharger les template XSL "email" et/ou "agenda", assurez-vous d'avoir les 3 span suivants :
Pour "agenda" :
Oups !
La copie dans le presse papier a échouée. Ouvrez le code et copier-le manuellement.
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$agenda-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="agenda-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$agenda-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="agenda-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$agenda-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="agenda-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>
Pour "email"
Oups !
La copie dans le presse papier a échouée. Ouvrez le code et copier-le manuellement.
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$email-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="email-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$email-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="email-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$email-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="email-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>