{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* Copyright (C) 2003-2011 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* 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}
- <div class="adresse">
+{if $job->company || $job->sector || $job->subsector ||
+ $job->subsubsector || $job->description || $job->user_email}
+ <div class="adresse" style="float: left">
<table>
- {if $address.entreprise || $address.web}
+ {if $job->company || $job->user_site}
<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}
- {if $address.secteur}
+ {if count($job->terms)}
<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}
- {if $address.fonction}
+ {if $job->description}
<tr>
- <td><em>Fonction: </em></td>
- <td><strong>{$address.fonction}</strong></td>
+ <td><em>Fonction : </em></td>
+ <td><strong>{$job->description}</strong></td>
</tr>
{/if}
- {if $address.poste}
+ {if $job->user_email}
<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>