X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fannuaire.tpl;h=5d6092153d95ede4923f3285ccac0da14d69fba7;hb=2f8bacc215bab9d9e3401e73004574cfb0eb4540;hp=7ed7eb64e58f0462442a87786fc1c8563c6007f5;hpb=ce814052cb278387bdf24f4e300f2cde915479a0;p=platal.git diff --git a/templates/xnetgrp/annuaire.tpl b/templates/xnetgrp/annuaire.tpl index 7ed7eb6..5d60921 100644 --- a/templates/xnetgrp/annuaire.tpl +++ b/templates/xnetgrp/annuaire.tpl @@ -20,10 +20,10 @@ {* *} {**************************************************************************} -

{$asso.nom} : Annuaire du groupe

+

{$asso->nom} : Annuaire du groupe

-Le groupe {$asso.nom} compte {$nb_tot} membres : +Le groupe {$asso->nom} compte {$nb_tot} membres :

@@ -112,13 +112,15 @@ Le groupe {$asso.nom} compte {$nb_tot} membres : {if $user->group_comm} {$user->group_comm} {/if} - group_comm}colspan="2"{/if}> - {icon name=vcard title="[vcard]"} - {icon name=email title="email"} + group_comm}colspan="2"{/if}> + {if $user->hasProfile()} + {icon name=vcard title="[vcard]"} + {/if} + {icon name=email title="email"} {if $is_admin} - {icon name=user_edit title="Edition du profil"} + {icon name=user_edit title="Édition du profil"} {icon name=delete title="Supprimer de l'annuaire"} {/if} @@ -126,9 +128,9 @@ Le groupe {$asso.nom} compte {$nb_tot} membres : {/foreach} -{if $pages ge 1} +{if $pages gt 1}

-{section name="links" loop=$pages min=1} +{section name="links" loop=$pages} {if $smarty.section.links.index eq $current} {$smarty.section.links.iteration} {else}