X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fjobs.job.tpl;h=3cb051e2489676b33395423e2d9e81ee36dfcdcc;hb=b032b01b8919b36ec66f8a0395132953d8c01cf2;hp=a9fc99bec780e4e67ecf685b1d7a9055248e80ca;hpb=c7139c07c6b79ac1c1792ae771f48e20510ba030;p=platal.git diff --git a/templates/profile/jobs.job.tpl b/templates/profile/jobs.job.tpl index a9fc99b..3cb051e 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-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,11 +20,16 @@ {* *} {**************************************************************************} -{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 !$job.tmp_name && !$job.name} + + - - + {/if} + + + + + + + + + + + + + + + + + + + + + - + - - + + - - + + - - + + - - - + - + - {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} + {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}
{include file="include/flags.radio.tpl" name="`$jobpref`[pub]" val=$job.pub}
- Entreprise n°{$i+1} + Entreprise n°{$i+1} : + {if $job.tmp_name}{$job.tmp_name} (en cours de validation){else} + + {/if} {icon name=cross title="Supprimer cet emploi"}
Ton entreprise
+ Si ton entreprise ne figure pas dans la liste, + clique ici et complète les informations la concernant. +
Nom de l'entreprise
Ta place dans l'entreprise
Secteur d'activité - - {icon name="table" title="Tous les secteurs"} + + {icon name="table" title="Tous les secteurs"}
Fonction occupée - +
Description + name="{$jobpref}[description]" value="{$job.description}" />
Page WebPage 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}
- {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} -