projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'platal-1.0.0'
[platal.git]
/
templates
/
profile
/
jobs.job.tpl
diff --git
a/templates/profile/jobs.job.tpl
b/templates/profile/jobs.job.tpl
index
7489ede
..
ec4008f
100644
(file)
--- a/
templates/profile/jobs.job.tpl
+++ b/
templates/profile/jobs.job.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
09
Polytechnique.org *}
+{* Copyright (C) 2003-20
10
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-28,16
+28,19
@@
<div id="{$jobid}">
<input type="hidden" name="{$jobpref}[removed]" value="0" />
<input type="hidden" name="{$jobpref}[new]" value="{if $new}1{else}0{/if}" />
<div id="{$jobid}">
<input type="hidden" name="{$jobpref}[removed]" value="0" />
<input type="hidden" name="{$jobpref}[new]" value="{if $new}1{else}0{/if}" />
+ <input type="hidden" name="{$jobpref}[id]" value="{$i}" />
+ <input type="hidden" name="{$jobpref}[jobid]" value="{$job.jobid}" />
<table id="{$jobid}_grayed" class="bicol" style="display: none; margin-bottom: 1em">
<tr>
<th class="grayed">
<div style="float: right">
<table id="{$jobid}_grayed" class="bicol" style="display: none; margin-bottom: 1em">
<tr>
<th class="grayed">
<div style="float: right">
- <a href="javascript:restoreJob('{$jobid}',
'{$jobpref}')">{icon name=arrow_refresh title="Restaure l'emploi"}</a>
+ <a href="javascript:restoreJob('{$jobid}','{$jobpref}')">{icon name=arrow_refresh title="Restaure l'emploi"}</a>
</div>
Restaurer l'entreprise n°{$i+1} : <span id="{$jobid}_grayed_name"></span>
</th>
</tr>
</table>
</div>
Restaurer l'entreprise n°{$i+1} : <span id="{$jobid}_grayed_name"></span>
</th>
</tr>
</table>
+
<table id="{$jobid}_cont" class="bicol" summary="Entreprise n°{$i+1}" style="margin-bottom: 1em">
<tr>
<th colspan="2" style="text-align: right">
<table id="{$jobid}_cont" class="bicol" summary="Entreprise n°{$i+1}" style="margin-bottom: 1em">
<tr>
<th colspan="2" style="text-align: right">
@@
-49,12
+52,12
@@
<input type="text" class="enterpriseName {if $job.name_error}error{/if}" size="35" maxlength="100"
name="{$jobpref}[name]" value="{$job.name}" />
{/if}
<input type="text" class="enterpriseName {if $job.name_error}error{/if}" size="35" maxlength="100"
name="{$jobpref}[name]" value="{$job.name}" />
{/if}
- <a href="javascript:removeJob('{$jobid}',
'{$jobpref}')">
+ <a href="javascript:removeJob('{$jobid}','{$jobpref}')">
{icon name=cross title="Supprimer cet emploi"}
</a>
</th>
</tr>
{icon name=cross title="Supprimer cet emploi"}
</a>
</th>
</tr>
- {if !$job.tmp_name}
+ {if !$job.tmp_name
&& !$job.name
}
<tr class="{$entreprise}">
<td class="center" colspan="2">
<small>Si ton entreprise ne figure pas dans la liste,
<tr class="{$entreprise}">
<td class="center" colspan="2">
<small>Si ton entreprise ne figure pas dans la liste,
@@
-123,8
+126,8
@@
<tr class="pair {$sector}" style="display: none">
<td class="titre" rowspan="4">Secteur d'activité</td>
<td>
<tr class="pair {$sector}" style="display: none">
<td class="titre" rowspan="4">Secteur d'activité</td>
<td>
- <select name="{$jobpref}[sector]" onchange="updateJobSector({$i}, '')">
- <option value=""> </option>
+ <select name="{$jobpref}[sector]" onchange="updateJobSector({$i}, '')
; emptyJobSubSector({$i}); emptyJobAlternates({$i});
">
+ <option value="
0
"> </option>
{foreach from=$sectors item=item}
<option value="{$item.id}" {if $item.id eq $job.sector}selected="selected"{/if}>
{$item.label}
{foreach from=$sectors item=item}
<option value="{$item.id}" {if $item.id eq $job.sector}selected="selected"{/if}>
{$item.label}
@@
-135,12
+138,12
@@
</tr>
<tr class="pair {$sector}" style="display: none">
<td id="{$jobid}_subSector">
</tr>
<tr class="pair {$sector}" style="display: none">
<td id="{$jobid}_subSector">
- <input type="hidden" name="{$jobpref}[subSector]" value="{$job.subSector|default:
'-1'
}" />
+ <input type="hidden" name="{$jobpref}[subSector]" value="{$job.subSector|default:
0
}" />
</td>
</tr>
<tr class="pair {$sector}" style="display: none">
<td id="{$jobid}_subSubSector">
</td>
</tr>
<tr class="pair {$sector}" style="display: none">
<td id="{$jobid}_subSubSector">
- <input type="hidden" name="{$jobpref}[subSubSector]" value="{$job.subSubSector|default:
'-1'
}" />
+ <input type="hidden" name="{$jobpref}[subSubSector]" value="{$job.subSubSector|default:
0
}" />
</td>
</tr>
<tr class="pair {$sector}" style="display: none">
</td>
</tr>
<tr class="pair {$sector}" style="display: none">
@@
-190,7
+193,7
@@
</div>
{/if}
<div id="{$jobid}_w_phone_add" class="center" style="clear: both; padding-top: 4px;">
</div>
{/if}
<div id="{$jobid}_w_phone_add" class="center" style="clear: both; padding-top: 4px;">
- <a href="javascript:addTel('{$jobid}_w_phone',
'{$jobpref}[w_phone]')">
+ <a href="javascript:addTel('{$jobid}_w_phone','{$jobpref}[w_phone]')">
{icon name=add title="Ajouter un numéro de téléphone"} Ajouter un numéro de téléphone
</a>
</div>
{icon name=add title="Ajouter un numéro de téléphone"} Ajouter un numéro de téléphone
</a>
</div>