{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2010 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.sector || $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>
- {if $address.entreprise || $address.web}
+ {if $job->company || $job->user_site}
<tr>
<td><em>Ent/Org : </em></td>
- <td><strong>{if $address.web}<a href='{$address.web}'>{$address.entreprise}</a>{$address.entreprise}{else}{$address.entreprise}{/if}
- {if $address.w_web} [<a href='{$address.w_web}'>Page perso</a>]{/if}</strong></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.sector}
+ {if count($job->terms)}
<tr>
- <td><em>Secteur : </em></td>
- <td><strong>{$address.sector}{if $address.subSector} ({$address.subSector}){/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><strong>{$job->description}</strong></td>
</tr>
{/if}
- {if $address.poste}
- <tr>
- <td><em>Poste : </em></td>
- <td><strong>{$address.poste}</strong></td>
- </tr>
- {/if}
- {if $address.email}
+ {if $job->user_email}
<tr>
<td><em>Email : </em></td>
- <td><strong>{$address.email}</strong></td>
+ <td><strong>{$job->user_email}</strong></td>
</tr>
{/if}
</table>