X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprofile%2Fgeneral.tpl;h=28d39468628bd7b31df2af40f5d46cad1fdb73d6;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=7c5a079d1029601d5b33993a390d5821edb268f5;hpb=93d42b4fcc6f055a428c9b63e386ac62c918d08a;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 7c5a079..28d3946 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -22,7 +22,7 @@
Noms | +Noms{if t($validation)} (validations en attente de modération){/if} | ||||
---|---|---|---|---|---|
@@ -71,9 +71,9 @@ class="names_advanced" style="display: none" error_name=$errors.search_names} {/foreach} | |||||
+ | @@ -97,7 +97,7 @@ Promotion | - {if !$promo_choice} + {if !t($promo_choice)} {$profile->promo()} {else} @@ -176,10 +176,6 @@ {cycle values="impair, pair" assign=class} {include file="profile/general.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/general.edu.tpl" eduid=0 edu=0 class=$class} - {/if} {cycle values="impair, pair" assign=class} {assign var=eduaddid value=$edus|@count} | |||
Messageries, networking et sites web @@ -282,13 +278,13 @@ {include file="profile/general.networking.tpl" nw=$network i=$id} {/foreach} | |||||
+ |