Fixes selection of alias and ax ways of loging.
[platal.git] / templates / xnetgrp / asso.tpl
index 0119ece..5043faf 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  *}
   </tr>
   {/if}
 
+  {if $asso->positions|count}
+  <tr>
+    <td class="titre">
+      Bureau&nbsp;:
+    </td>
+    <td>
+      {foreach from=$asso->positions item=position}
+      <em>&bull;&nbsp;{$position.position}&nbsp;:</em> {profile user=$position.uid promo=true}<br />
+      {/foreach}
+    </td>
+  </tr>
+  {/if}
+
   {if $asso->forum}
   <tr>
     <td class="titre">
   </tr>
   {/if}
 
+  {if $asso->phone}
+  <tr>
+    <td class="titre">Téléphone&nbsp;:</td>
+    <td>{$asso->phone}</td>
+  </tr>
+  {/if}
+
+  {if $asso->fax}
+  <tr>
+    <td class="titre">Fax&nbsp;:</td>
+    <td>{$asso->fax}</td>
+  </tr>
+  {/if}
+
+  {if $asso->address}
+  <tr>
+    <td class="titre">Adresse&nbsp;:</td>
+    <td>{$asso->address}</td>
+  </tr>
+  {/if}
+
   {if !$is_member && $is_logged && $asso->inscriptible && $xnet_type != 'promotions'}
   <tr>
     <td class="titre">
   {if $asso->ax}
   <tr>
     <td class="titre center" colspan="2">
-      groupe agréé par l'AX
+      groupe agréé par l'AX {if $asso->axDate}le {$asso->axDate}{/if}
     </td>
   </tr>
   {/if}