Merge branch 'xorg/1.0.2/master' into xorg/master
[platal.git] / templates / xnetevents / subscribe.tpl
index c28bd86..61c7f23 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  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  *}
 </p>
 
 <p class='descr'>
+  {assign var=profile value=$event.organizer->profile()}
   Cet événement a lieu <strong>{$event.date}</strong> et a été proposé par
-  <a href='https://www.polytechnique.org/profile/{$event.alias}' class='popup2'>
-    {$event.prenom} {$event.nom} ({$event.promo}).
-  </a>
+  <a href='https://www.polytechnique.org/profile/{$profile->hrpid}' class='popup2'>
+    {$event.organizer->fullName('promo')}
+  </a>.
 </p>
 
 <p class='descr'>