X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fjobs.job.tpl;h=61a6043e2b9227570b85295e281d74bf307de802;hb=245923e335d0da5bec9495991a7846be9f0563ab;hp=efa2ae9cd5387d680d761b166dc118a044c14ebd;hpb=e8a898662eeafa5201082067a7aac46573884ebb;p=platal.git diff --git a/templates/profile/jobs.job.tpl b/templates/profile/jobs.job.tpl index efa2ae9..61a6043 100644 --- a/templates/profile/jobs.job.tpl +++ b/templates/profile/jobs.job.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,189 +20,186 @@ {* *} {**************************************************************************} -{assign var=jobid value="job_`$i`"} + + +{assign var=jobid value="job_"|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}
+ + + - {if !$job.tmp_name} - + {if !$job.tmp_name && !$job.name} + - {/if} - + + {/if} - - - - - - - - - - + + + + + - - + - - + + - - + + - + - + {if $hiddenjob} + + + + {else} + {include file="include/emails.combobox.tpl" name=$jobpref|cat:'[w_email]' val=$job.w_email + class="pair" i=$i error=$job.w_email_error prefix="w_" pub=$job.w_email_pub id=$i} + {/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}
Entreprise n°{$i+1} : + {if $hiddenjob} + (masquée) + {if !$job.tmp_name} + + {/if} + {else} {if $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"} -
Place dans l'entreprise
Mots-clefs + + {icon name="table" title="Tous les mots-clefs"} +
Fonction occupée
Description - +
Description
Page perso -

+
Adresse
- {include file="include/flags.radio.tpl" name="`$jobpref`[w_adr][pub]" val=$job.w_adr.pub} + {include file="include/flags.radio.tpl" name="`$jobpref`[w_address][pub]" val=$job.w_address.pub}
- {include file="geoloc/form.address.tpl" name="`$jobpref`[w_adr]" id="`$jobid`_adr" adr=$job.w_adr} + {include file="geoloc/form.address.tpl" prefname="`$jobpref`[w_address]" + prefid=$jobid address=$job.w_address}
-
- {include file="include/emails.combobox.tpl" name=$jobpref|cat:'[w_email]' val=$job.w_email - class="pair" i=$i error=$job.w_email_error prefix="w_" pub=$job.w_email_pub isjob="1" id=$i} -
Page perso
- -
+ + +
- {foreach from=$job.w_tel key=t item=tel} -
- {include file="profile/phone.tpl" prefname="`$jobpref`[w_tel]" prefid="`$jobid`_w_tel" telid=$t tel=$tel} + {foreach from=$job.w_phone key=t item=phone} +
+ {include file="profile/phone.tpl" prefname="`$jobpref`[w_phone]" prefid="`$jobid`_w_phone" telid=$t tel=$phone}
{/foreach} - {if $job.w_tel|@count eq 0} -
- {include file="profile/phone.tpl" prefname="`$jobpref`[w_tel]" prefid="`$jobid`_w_tel" telid=0 tel=0} + {if $job.w_phone|@count eq 0} +
+ {include file="profile/phone.tpl" prefname="`$jobpref`[w_phone]" prefid="`$jobid`_w_phone" telid=0 tel=0}
{/if} -