X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprofile%2Fgeneral.tpl;h=28d39468628bd7b31df2af40f5d46cad1fdb73d6;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=44497f3997f7e986837522c3b8a0df0a4ec8ccf4;hpb=04e200e0618e708a597b361caba8fe0b8ad1317b;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 44497f3..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,7 +71,7 @@ class="names_advanced" style="display: none" error_name=$errors.search_names} {/foreach} | |||||
+ | - {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 |