X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.tpl;h=2fb7661ddc111a1f5e5fb5a149623f908e181c0f;hb=4f06d57b6aa8d9eb04c1d18a081549aa8fb8dc8d;hp=1cbf27f7f0bf9f198e0794cea2c3ca4fb8c7765c;hpb=d1a2252ae9275f499f3a1d843f540ae5aeea63a9;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 1cbf27f..2fb7661 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -54,8 +54,8 @@ Affichage de ton nom - {if $tooltip_name}{$display_name}{else}{$display_name}{/if} - + {if $tooltip_name}{$display_name}{else}{$display_name}{/if} + {icon name="page_edit" title="Plus de détail"} @@ -65,12 +65,22 @@ Promotion - X{$promo}{if ($promo != $promo_sortie - 3)} - X{math equation="a - b" a=$promo_sortie b=3}{/if} - {icon name="page_edit" title="modifier"} + {if !$promo_choice} + {$promo_display} + {else} + + {/if} + {icon name="page_edit" title="modifier"} - Date de naissance + + Date de naissance + @@ -79,42 +89,61 @@ + {icon name=add title="Ajouter une nationalité"} - + + - Application
- (4e année de l'X) - - - -
- - + {select_nat valeur=$nationalite2 pad=1} + {icon name=cross title="Supprimer cette nationalité"} - + + - Post-application - - - -
- - + {select_nat valeur=$nationalite3 pad=1} + {icon name=cross title="Supprimer cette nationalité"} - + + + + + + + {foreach from=$edus key=eduid item=edu} + {cycle values="impair, pair" assign=class} + {include file="profile/edu.tpl" eduid=$eduid edu=$edu edu_fields=$edu_fields class=$class} + {/foreach} + {if $edus|@count eq 0} + {cycle values="impair, pair" assign=class} + {include file="profile/edu.tpl" eduid=0 edu=0 class=$class} + {/if} + {cycle values="impair, pair" assign=class} + {assign var=eduaddid value=$edus|@count} + + + + - + - + - + - + - +
+
+ + {icon name="flag_green" title="site public"} +
+ Formations +
+ +
Si ta formation ne figure pas dans la liste, contacte-nous. @@ -129,68 +158,54 @@ Noms
{icon name="flag_green" title="site public"}   Affichage courant de ton nom + {icon name="information" title="aide"}
explication + {icon name="information" title="aide"}
ranger ce nom à + {icon name="information" title="aide"}
{icon name="flag_red" title="privé"}   Comment on doit t'appeller -
dans les mails que nous t'envoyons
+ {icon name="information" title="aide"}
- Recherche - , ta fiche apparaît quand on cherche un de ces noms + Recherche, ta fiche apparaît quand on cherche un de ces noms + {icon name="information" title="aide"} {iterate from=$search_names item="sn"}
{include file="profile/general.searchname.tpl" i=$sn.sn_id sn=$sn} @@ -238,12 +253,12 @@ pour les premières lettres : Alfred de Musset" width {/if} + summary="Profil : Trombinoscope"> @@ -251,17 +266,17 @@ pour les premières lettres : Alfred de Musset" width {if $nouvellephoto} {/if} @@ -278,57 +293,84 @@ pour les premières lettres : Alfred de Musset" width
- - {icon name="flag_green" title="site public"} +
Trombinoscope
Ta photo actuelle
-  [ PHOTO ] +  [ PHOTO ]
Photo en attente de validation
-  [ PHOTO ] +  [ PHOTO ]
+ summary="Profil : Divers"> - - - - - + {foreach from=$networking item=network key=id} {include file="profile/general.networking.tpl" nw=$network i=$id} {/foreach} + + + + +
Divers
- Téléphone mobile - - - - {include file="include/flags.radio.tpl" name="mobile_pub" val=$mobile_pub} - + + Téléphones personnels
- Messageries, networking et sites web + {foreach from=$tels key=telid item=tel} +
+ {include file="profile/phone.tpl" prefname='tels' prefid='tels' telid=$telid tel=$tel} +
+ {/foreach} + {if $tels|@count eq 0} +
+ {include file="profile/phone.tpl" prefname='tels' preid='tels' telid=0 tel=0} +
+ {/if} +
- Type à ajouter - - - + {if $email_error} + {include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory_error error=$email_error i="0"} + {else}{include file="include/emails.combobox.tpl" name="email_directory" val=$email_directory error=$email_error i="0"}{/if} +
+ Messageries, networking et sites web
+ +
- - {icon name="flag_green" title="site public"} +   - Complément libre
- Commentaire ? ICQ ? etc... + Commentaire