Merge commit 'origin/master' into account
[platal.git] / templates / include / plview.minifiche.tpl
index 38e3c78..acd256a 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 
 <div class="contact-list" style="clear: both">
 {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}
 {/foreach}
 </div>