La version 1.5.0 apporte une gestion de l'affichage des erreurs du serveur de messagerie/agenda
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.
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" :
<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"
<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>