X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprofile%2Fgroups.tpl;h=5f76ed4ae78a0d8798ff077251e3694a6483c634;hb=8c6b3fe250851510543f20da9cf0242ea5845b57;hp=cf24edd9d120c87bb8605f008e4a8c8321337406;hpb=3950bc21efd9cd06d800248b36abdeee00e25132;p=platal.git diff --git a/templates/profile/groups.tpl b/templates/profile/groups.tpl index cf24edd..5f76ed4 100644 --- a/templates/profile/groups.tpl +++ b/templates/profile/groups.tpl @@ -20,84 +20,18 @@ {* *} {**************************************************************************} - -{literal} - -{/literal} - - +
- - - - + - + {foreach item=text key=bid from=$binets} @@ -125,38 +58,102 @@
{$text}
- {icon name="cross" title="Supprimer ce binet"} + {icon name="cross" title="Supprimer ce binet"} {/foreach} - - - +
+
+ + {icon name="flag_red" title="privé"} +
Informations polytechniciennes
- - privé -
- - {if $old}ex-{/if}Section
- - {if $old}ex-{/if}Binet(s) - {select_db_table table="binets_def" valeur=0 champ="text" pad='1'} - {icon name="add" title="Ajouter ce binet"} +
Groupe(s) X
+ + + + + + + + + + + + - {foreach item=text key=bid from=$groupesx} - - + + + {/if} + {assign var=grp_admin value=false} + {assign var=grp_public value=false} + {iterate from=$mygroups item=group} + + - - {/foreach} + {/iterate} + {if $grp_admin || $grp_public} + + + + {/if}
Groupes et institutions X
+

+ La gestion des annuaires des groupes X est réalisée grâce à + Polytechnique.net. Pour faire apparaître un groupe sur ta fiche + il faut que soit inscrit dans ce groupe sur l'annuaire sur Polytechnique.net. +

+
+

+ Tu peux demander ton inscription aux groupes X qui t'intéressent. Voici la liste de ceux disponibles actuellement + sur Polytechnique.net et qui autorisent les demandes d'inscription : +

+
- + {iterate from=$listgroups item=group} + {if $group.dom neq $groupcat} + {if $ingroup} + + {assign var=ingroup value=false} + {/if} + {if $group.dom} + + {assign var=ingroup value=true} + {assign var=groupcat value="`$group.dom`"} + {/if} + {/if} + + {/iterate} + {if $ingroup}{/if} - {icon name="add" title="Ajouter ce groupe X"} + + + {icon name="add" title="Demander ton inscription"} Demander ton inscription +
- + {if $mygroups->total()} +
Tu es actuellement dans les groupes suivants :
+ {if $group.pub neq 'public'} + {icon name=error title="Liste de membres a accès restreint"} + {assign var=grp_public value=true} + {/if} + {if $group.perms eq 'admin'} + {icon name=wrench title="Tu es administrateur du groupe"} + {assign var=grp_admin value=true} + {/if} + {if $group.site}{else}{/if} + {$group.nom} + -
- {$text} -
- {icon name="cross" title="Supprimer ce groupe X"} +
+ + {icon name=cross title="Demander désinscription"} Demander ta désinscription +
+
Signification des symboles :
+ {if $grp_public}{icon name=error} L'annuaire du groupe est à visibilité restreinte et ce groupe n'apparaîtra pas sur ta + fiche{/if} + {if $grp_public && $grp_admin}
{/if} + {if $grp_admin}{icon name=wrench} Tu es administrateur du groupe{/if} +
- - {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}