X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fasso.tpl;h=12dc248f52bb5e6d05d1b0bc2cbbfc94eba72ede;hb=76362eeb011de4f2cd7825f557643a72494475f9;hp=4ec01b0f15459ebf1cd4a50702119a7b5096aa61;hpb=be638e733bce413df4324d985297d9a4d94dcbca;p=platal.git diff --git a/templates/xnetgrp/asso.tpl b/templates/xnetgrp/asso.tpl index 4ec01b0..12dc248 100644 --- a/templates/xnetgrp/asso.tpl +++ b/templates/xnetgrp/asso.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,52 +20,65 @@ {* *} {**************************************************************************} -

{$asso.nom} : Accueil

+

{$asso->nom} : Accueil

- {if $asso.site} + {if $asso->site} - + {/if} - {if $asso.resp || $asso.mail} + {if $asso->resp || $asso->mail} {/if} - {if $asso.forum} + {if $asso->positions|count} + + + + + {/if} + + {if $asso->forum} {/if} - {if !$is_member && $is_logged && $asso.inscriptible && $xnet_type != 'promotions'} + {if !$is_member && $is_logged && $asso->inscriptible && $xnet_type != 'promotions'} {elseif $is_member} @@ -74,15 +87,15 @@ Me désinscrire : {/if} - {if $asso.ax} + {if $asso->ax} {/if} @@ -99,21 +112,17 @@
- {if $asso.wiki_desc} - {$asso.descr|miniwiki:title|smarty:nodefaults} - {else} - {$asso.descr|smarty:nodefaults} - {/if} + {$asso->descr|miniwiki:title|smarty:nodefaults}

-{if $article_index && $article_index->total()} +{if t($article_index) && $article_index->total()}
Site Web : {$asso.site}{$asso->site}
Contact : - {if $asso.mail} - {mailto address=$asso.mail text=$asso.resp|utf8_decode|default:"par email" encode=javascript} + {if $asso->mail} + {mailto address=$asso->mail text=$asso->resp|utf8_decode|default:"par email" encode=javascript} {else} - {$asso.resp} + {$asso->resp} {/if}
+ Bureau : + + {foreach from=$asso->positions item=position} + • {$position.position} : {profile user=$position.uid promo=true}
+ {/foreach} +
Forum : par le web - ou par nntp + ou par nntp
M'inscrire : - m'inscrire + m'inscrire
- me désinscrire + me désinscrire
- groupe agréé par l'AX + groupe agréé par l'AX {if $asso->axDate}le {$asso->axDate}{/if}
{iterate item=art from=$article_index} -
- {if $smarty.session.token} - + {if $smarty.session.user->token} + {icon name=feed title='fil rss'} {else} @@ -126,7 +135,7 @@
• + • {if $art.nonlu} {else}