X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=inline;f=templates%2Fprofile%2Fjobs.job.tpl;h=f350a6ad64279cb831517280e21c7651813c1621;hb=5b48ebf46ef939d701852d2117bbcf308036027c;hp=26851e79840691b81de29b6f95b9035c62666b6e;hpb=9891bd15f772caef0c199a98f036e976bf4ab94a;p=platal.git diff --git a/templates/profile/jobs.job.tpl b/templates/profile/jobs.job.tpl index 26851e7..f350a6a 100644 --- a/templates/profile/jobs.job.tpl +++ b/templates/profile/jobs.job.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,189 +20,191 @@ {* *} {**************************************************************************} -{assign var=jobid value="job_`$i`"} + + +{assign var=jobid value="jobs_"|cat:$i} {assign var=jobpref value="jobs[`$i`]"} {assign var=sector_text value="sector_text_"|cat:$i} {assign var=sector value="sector_"|cat:$i} {assign var=entreprise value="entreprise_"|cat:$i} +{if !hasPerm('directory_private') && ($job.pub eq 'private') && !$new} +{assign var=hiddenjob value=true} +{else} +{assign var=hiddenjob value=false} +{/if}
- {include file="include/flags.radio.tpl" name="`$jobpref`[pub]" val=$job.pub}
+ {include file="include/flags.radio.tpl" name="`$jobpref`[pub]" val=$job.pub disabled=$hiddenjob
+ mainField='jobs' mainId=$i subField='w_address,w_email,w_phone' subId=-1}
Entreprise n°{$i+1} :
- {if $job.tmp_name}{$job.tmp_name} (en cours de validation){else}
-
+ {/if}
+ {else}
+ {if t($job.tmp_name)}{$job.tmp_name} (en cours de validation){else}
+
{/if}
-
+ {/if}
+
{icon name=cross title="Supprimer cet emploi"}
|
|
---|---|
- Si ton entreprise ne figure pas dans la liste, + Si l'entreprise ne figure pas dans la liste, clique ici et complète les informations la concernant. | |
Ta place dans l'entreprise | -|
Secteur d'activité | -- - {icon name="table" title="Tous les secteurs"} - | -