From: Florent Bruneau Date: Tue, 25 Mar 2008 23:06:02 +0000 (+0100) Subject: Fix bottom links of the newsletter and the axletter when using the web archive interface. X-Git-Tag: xorg/0.9.16~55 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=ec89662790c1360378ea5532214a05774803d886;p=platal.git Fix bottom links of the newsletter and the axletter when using the web archive interface. Signed-off-by: Florent Bruneau --- diff --git a/templates/axletter/letter.mail.tpl b/templates/axletter/letter.mail.tpl index 3f0bb05..5ae5706 100644 --- a/templates/axletter/letter.mail.tpl +++ b/templates/axletter/letter.mail.tpl @@ -43,8 +43,13 @@ -------------------------------------------------------------------- Cette lettre est envoyée par l'AX grâce aux outils de Polytechnique.org. +{if $is_mail} archives : ne plus recevoir : +{else} +archives : <https://www.polytechnique.org/ax> +ne plus recevoir : <https://www.polytechnique.org/ax/out{if $hash}/{$hash}{/if}> +{/if} {if !$is_mail} diff --git a/templates/newsletter/nl.mail.tpl b/templates/newsletter/nl.mail.tpl index a9771cf..d32325e 100644 --- a/templates/newsletter/nl.mail.tpl +++ b/templates/newsletter/nl.mail.tpl @@ -60,10 +60,15 @@ Cette lettre est envoyée à tous les Polytechniciens sur Internet par l'intermédiaire de Polytechnique.org. +{if $is_mail} archives : écrire : ne plus recevoir : - +{else} +archives : <https://www.polytechnique.org/nl> +écrire : <https://www.polytechnique.org/nl/submit> +ne plus recevoir : <https://www.polytechnique.org/nl/out> +{/if} {if !$is_mail} {/if} diff --git a/templates/newsletter/show.tpl b/templates/newsletter/show.tpl index 8cb9332..7b162ca 100644 --- a/templates/newsletter/show.tpl +++ b/templates/newsletter/show.tpl @@ -47,7 +47,7 @@ {$nl->title(true)} - {include file="newsletter/nl.mail.tpl"} + {include file="newsletter/nl.mail.tpl" escape=true}