X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=0fd2a140cf60da357ae26b4088035c26510fadd2;hb=36dd191093ad8c22280db280e13ba7618c127a4e;hp=862b22bd3fd511a29319284c843cb84abafbf51c;hpb=2925df1bd6cb08c1f29822019fcb82e59f63f8a3;p=platal.git
diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl
index 862b22b..0fd2a14 100644
--- a/templates/include/minifiche.tpl
+++ b/templates/include/minifiche.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2008 Polytechnique.org *}
+{* Copyright (C) 2003-2009 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@ -25,14 +25,14 @@
{if $smarty.session.auth ge AUTH_COOKIE}
-
{/if}
{if $c.sexe}•{/if}
- {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}{/if}
@@ -59,16 +59,18 @@
*}{icon name=cross title="Retirer de la liste de mes surveillances"}
{/if}
{elseif $c.wasinscrit}
-
{if !$c.dcd}
-
{*
+ {*
*}{icon name=vcard title="Afficher la carte de visite"}
+
{*
+ *}{icon name=email title="Envoyer un email"}
{if $show_action eq ajouter}
-
{*
+ {*
*}{icon name=add title="Ajouter à mes contacts"}
{else}
-
{*
+ {*
*}{icon name=cross title="Retirer de mes contacts"}
{/if}
{/if}
@@ -78,12 +80,12 @@
{if hasPerm('admin')}
{/if}
@@ -100,7 +102,7 @@
{$c.web} |
{/if}
- {if $c.countrytxt || $c.city}
+ {if ($c.countrytxt || $c.city) && !$c.dcd}
Géographie : |
{$c.city}{if $c.city && $c.countrytxt}, {/if}{$c.countrytxt} |
@@ -116,8 +118,8 @@
Profession : |
- {$c.entreprise} {if $c.secteur}({$c.secteur}){/if}
- {if $c.fonction} {$c.fonction}{/if}
+ {if $c.job_web}{$c.entreprise}{else}{$c.entreprise}{/if}
+ {if $c.secteur} ({$c.secteur}){/if}{if $c.fonction} {$c.fonction}{/if}
|
{/if}
@@ -132,11 +134,11 @@
{if !$c.wasinscrit}
Ce{if $c.sexe}tte{/if} camarade n'est pas inscrit{if $c.sexe}e{/if}.
-
{elseif !$c.actif}
Ce{if $c.sexe}tte{/if} camarade n'a plus d'adresse de redirection valide.
-
+
Si tu en connais une, n'hésite pas à nous la transmettre.
{/if}
|