Merge commit 'origin/master' into fusionax
[platal.git] / templates / include / plview.referent.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2009 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23 <div class="contact-list" style="clear: both">
24 {foreach from=$set item=p}
25   <div class="contact">
26     <div class="nom">
27       <span {if $p.name_tooltip}class="hinted" title="{$p.name_tooltip}"{/if}>{$p.name_display}</span>
28     </div>
29     <div class="edu">
30       {$p.promo_display}
31     </div>
32     <div class="bits" style="width: 40%;">
33       <span class='smaller'>
34       <a href="profile/{$p.hruid}" class="popup2">
35         {icon name=user_suit title="Voir sa fiche"}</a> -
36         <a href="referent/{$p.hruid}" class="popup2">Voir sa fiche référent</a>
37       </span>
38     </div>
39     <div class="long">
40      <table cellspacing="0" cellpadding="0">
41       <tr>
42         <td class="lt">Expertise&nbsp;:</td>
43         <td class="rt" colspan="2">{$p.expertise|nl2br}</td>
44       </tr>
45      </table>
46     </div>
47   </div>
48 {/foreach}
49 </div>
50
51 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}