{* *}
{**************************************************************************}
-{if $asso.site}
-<a href="{$asso.site}"><img src='{$platal->ns}logo' alt="LOGO" style="float: right;" /></a>
-{else}
-<img src='{$platal->ns}logo' alt="LOGO" style="float: right;" />
-{/if}
-
<h1>{$asso.nom} : Accueil</h1>
<table cellpadding="0" cellspacing="0" class='tiny'>
</tr>
{/if}
- {if !$is_member && $logged && $asso.pub eq 'public' && $xnet_type != 'promotions'}
+ {if !$is_member && $is_logged && $asso.pub eq 'public' && $xnet_type != 'promotions'}
<tr>
<td class="titre">
M'inscrire :
<br />
-<div>
+<div style="text-align: justify">
{$asso.descr|smarty:nodefaults}
</div>
+<br />
+
+{if $article_index && $article_index->total()}
+<table class="tinybicol">
+ <tr>
+ <th>
+ {if $smarty.session.core_rss_hash}
+ <a href='{$platal->ns}rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml' style="display:block;float:right">
+ {icon name=feed title='fil rss'}
+ </a>
+ {else}
+ <a href='https://www.polytechnique.org/prefs/rss?referer=events' style="display:block;float:right">
+ {icon name=feed_add title='Activer mon fil rss'}
+ </a>
+ {/if}
+ Sommaire des annonces du groupe
+ </th>
+ </tr>
+ {iterate item=art from=$article_index}
+ <tr>
+ <td>•
+ {if $art.nonlu}
+ <a href="{$platal->ns}#art{$art.id}"><strong>
+ {else}
+ <a href="{$platal->ns}?unread={$art.id}">
+ {/if}
+ {tidy}{$art.titre}{/tidy}
+ {if $art.nonlu}</strong>{/if}</a>
+ </td>
+ </tr>
+ {/iterate}
+</table>
+{/if}
+
+<br />
+
+{if $articles->total()}
+<div>
+{iterate item=art from=$articles}
+{include file="xnet/groupe/form.announce.tpl"}
+<br />
+{/iterate}
+</div>
+{/if}
+
+{if $is_admin}
+<div class="center">
+ [<a href="{$platal->ns}announce/new">Ajouter une annonce</a>]
+</div>
+{/if}
+
{* vim:set et sw=2 sts=2 sws=2: *}