projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only uses autoload to require validation classes.
[platal.git]
/
templates
/
include
/
emploi.tpl
diff --git
a/templates/include/emploi.tpl
b/templates/include/emploi.tpl
index
65abc3c
..
a322c8d
100644
(file)
--- a/
templates/include/emploi.tpl
+++ b/
templates/include/emploi.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
08
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 *}
@@
-19,39
+19,38
@@
{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
{* *}
{**************************************************************************}
{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
{* *}
{**************************************************************************}
-{if $
address.entreprise || $address.secteur || $address.fonction
||
- $
address.poste || $address.fonction || $address.email || $address.web
}
+{if $
job->company || $job->sector || $job->subsector
||
+ $
job->subsubsector || $job->description || $job->user_email
}
<div class="adresse" style="float: left">
<table>
<div class="adresse" style="float: left">
<table>
- {if $
address.entreprise || $address.web
}
+ {if $
job->company || $job->user_site
}
<tr>
<tr>
- <td><em>Ent/Org: </em></td>
- <td><strong>{$address.entreprise}{if $address.web} [<a href='{$address.web}'>site</a>]{/if}</strong></td>
+ <td><em>Ent/Org : </em></td>
+ <td><strong>{if $job->company->url}<a href='{$job->company->url}'>{$job->company->name}</a>{else}{$job->company->name}{/if}
+ {if $job->user_site} [<a href='{$job->user_site}'>Page perso</a>]{/if}</strong></td>
</tr>
{/if}
</tr>
{/if}
- {if
$address.secteur
}
+ {if
count($job->terms)
}
<tr>
<tr>
- <td><em>Secteur: </em></td>
- <td><strong>{$address.secteur}{if $address.ss_secteur} ({$address.ss_secteur}){/if}</strong></td>
+ <td><em>Mots-clefs : </em></td>
+ <td><ul>
+ {foreach from=$job->terms item=term}
+ <li><strong>{$term->full_name}</strong></li>
+ {/foreach}
+ </ul></td>
</tr>
{/if}
</tr>
{/if}
- {if $
address.fonc
tion}
+ {if $
job->descrip
tion}
<tr>
<tr>
- <td><em>Fonction: </em></td>
- <td><strong>{$
address.fonc
tion}</strong></td>
+ <td><em>Fonction
: </em></td>
+ <td><strong>{$
job->descrip
tion}</strong></td>
</tr>
{/if}
</tr>
{/if}
- {if $
address.poste
}
+ {if $
job->user_email
}
<tr>
<tr>
- <td><em>Poste: </em></td>
- <td><strong>{$address.poste}</strong></td>
- </tr>
- {/if}
- {if $address.email}
- <tr>
- <td><em>E-mail: </em></td>
- <td><strong>{$address.email}</strong></td>
+ <td><em>Email : </em></td>
+ <td><strong>{$job->user_email}</strong></td>
</tr>
{/if}
</table>
</tr>
{/if}
</table>