From: Florent Bruneau Date: Tue, 8 Jul 2008 21:08:32 +0000 (+0200) Subject: More consistent: show the marketing link and the broken marketing link using X-Git-Tag: xorg/0.9.17~45 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=d32d33d2a9bc5d9c29c43189adacc44748369bfe;p=platal.git More consistent: show the marketing link and the broken marketing link using the same layout. Signed-off-by: Florent Bruneau --- diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 1b3fdd6..f78be58 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -42,13 +42,8 @@ {$c.nat}  {/if} X {$c.promo}{if $c.app0text}, {applis_fmt type=$c.app0type text=$c.app0text url=$c.app0url}{* - *}{/if}{if $c.app1text}, {applis_fmt type=$c.app1type text=$c.app1text url=$c.app1url}{/if} - {if $c.dcd}décédé{if $c.sexe}e{/if} le {$c.deces|date_format}{/if} - {if $smarty.session.auth ge AUTH_COOKIE} - {if !$c.dcd && !$c.wasinscrit} - clique ici si tu connais son adresse email ! - {/if} - {/if} + *}{/if}{if $c.app1text}, {applis_fmt type=$c.app1type text=$c.app1text url=$c.app1url}{/if}{* + *}{if $c.dcd}, décédé{if $c.sexe}e{/if} le {$c.deces|date_format}{/if} @@ -96,7 +91,7 @@ {/if}
- {if $c.wasinscrit} + {if $c.wasinscrit || !$c.dcd} {if $c.web || $c.mobile || $c.countrytxt || $c.city || $c.region || $c.entreprise || $c.freetext || (!$c.dcd && !$c.actif )} {if $c.web} @@ -132,13 +127,19 @@ {/if} - {if !$c.dcd && !$c.actif && $c.wasinscrit && $smarty.session.auth ge AUTH_COOKIE} + {if !$c.dcd && (!$c.actif || !$c.wasinscrit) && $smarty.session.auth ge AUTH_COOKIE} {/if}
{$c.freetext|nl2br}
+ {if !$c.wasinscrit} + Ce camarade n'est pas inscrit. + Si tu connais son adresse email, + n'hésite pas à nous la transmettre ! + {elseif !$c.actif} Ce camarade n'a plus d'adresse de redirection valide. Si tu en connais une, n'hésite pas à nous la transmettre. + {/if}