X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flistes%2Fmembers.tpl;h=dc05886e8fd0e7ecd04e78f81e5db86ab9e1ffd8;hb=30fc8ee73a7f6b03645fd38ee12c2f86083b873c;hp=5178b2a50d9579608caf38756fd0966c1d610d29;hpb=e8599c21fcbd18beb8551368450174f35774794a;p=platal.git diff --git a/templates/listes/members.tpl b/templates/listes/members.tpl index 5178b2a..dc05886 100644 --- a/templates/listes/members.tpl +++ b/templates/listes/members.tpl @@ -24,7 +24,7 @@ {include file="listes/header_listes.tpl" on=members}
{if $promo}{$promo}{else}non-X{/if} | ++ {if $smarty.foreach.all.first} + {if $promo}{$promo}{else}non-X{/if} + {/if} + |
- {foreach from=$xs item=x}
{if $promo}
- {$x.n} + {$x.n} + {elseif $x.n} + {$x.n} {else} - {$x.l} + {$x.l} {/if} - {/foreach} |
+ {if $x.p}
+ + {$x.p} + | + {/if}
{if $promo}{$promo}{else}non-X{/if} | ++ {if $smarty.foreach.all.first} + {if $promo}{$promo}{else}non-X{/if} + {/if} + |
- {foreach from=$xs item=x}
{if $promo}
- {$x.n} + {$x.n} + {elseif $x.n} + {$x.n} {else} - {$x.l} + {$x.l} {/if} - {/foreach} |
+ {if $x.p}
+ + {$x.p} + | + {/if}