X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fplview.minifiche.tpl;h=d5b7bf04ea37662af2d3bdb0f09b2f3e4642e044;hb=53de25571fe8c43e312f364a143e23a7cecfa14e;hp=38e3c784963f5619f3595a9ee003cc9527f0d5f8;hpb=0783a5ed4d3409bcd7a7e1d908696159999810c8;p=platal.git diff --git a/templates/include/plview.minifiche.tpl b/templates/include/plview.minifiche.tpl index 38e3c78..d5b7bf0 100644 --- a/templates/include/plview.minifiche.tpl +++ b/templates/include/plview.minifiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -22,11 +22,7 @@
{foreach from=$set item=res} - {if $res.contact} - {include file="include/minifiche.tpl" c=$res show_action="retirer"} - {else} - {include file="include/minifiche.tpl" c=$res show_action="ajouter"} - {/if} + {include file="include/minifiche.tpl" profile=$res|get_profile} {/foreach}