minor fixes to mentor profile page
[platal.git] / templates / marketing / broken.tpl
index 9a314f4..330e8a4 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2008 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
   Merci de nous avoir communiqué cette information !
 </p>
 
-{elseif $user}
+{elseif $user && !$user.alive}
+<p class="erreur">
+  {$user.prenom} {$user.nom} (X{$user.promo}) est malheureusement décédé{if $user.sexe}e{/if}.
+  Nous ne réaliserons maintenance sur son adresse Polytechnique.org qu'à la demande explicite
+  de sa famille. Pour tout renseignement, merci de <a href="mailto:contact@polytechnique.org">
+  contacter le support</a>.
+</p>
 
+{elseif $user}
 <h1>
   Recherche d'adresses pour {$user.nom} {$user.prenom} (X{$user.promo})
 </h1>
   <table class="bicol" summary="Fiche camarade">
     <tr><th colspan="2">Proposition d'adresse pour<br />{$user.nom} {$user.prenom} (X{$user.promo})</th></tr>
     <tr class="pair">
-      <td>Adresse email :</td>
+      <td>Adresse email&nbsp;:</td>
       <td>
         <input type="text" name="mail" size="30" maxlength="50" value="{$smarty.post.mail}" />
       </td>
     </tr>
     {if $user.email}
     <tr class="impair">
-      <td>Explication :</td>
+      <td>Explication&nbsp;:</td>
       <td><textarea name="comment" cols="50" rows="4">{$smarty.post.comment}</textarea></td>
     </tr>
     {/if}