d4303c8d4c6aec2b7a9c74f06a1f67daa42c818b
[platal.git] / templates / include / plview.referent.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2013 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="photo">
27       <img src="photo/{$p->hrid()}" alt="{$p->directory_name}" />
28     </div>
29
30     <div class="nom">
31       {if $p->isFemale()}&bull;{/if}
32       {$p->fullName()}
33     </div>
34     <div class="edu">
35       {$p->promo()}
36     </div>
37     <div class="bits" style="width: 40%;">
38       <span class='smaller'>
39       <a href="profile/{$p->hrid()}" class="popup2">
40         {icon name=user_suit title="Voir sa fiche"}</a> -
41         <a href="referent/{$p->hrid()}" class="popup2">Voir sa fiche référent</a>
42       </span>
43     </div>
44     <div class="long">
45      <table cellspacing="0" cellpadding="0">
46       <tr>
47         <td class="lt">Expertise&nbsp;:</td>
48         <td class="rt" colspan="2">{$p->mentor_expertise|nl2br}</td>
49       </tr>
50      </table>
51     </div>
52   </div>
53 {/foreach}
54 </div>
55
56 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}