| 1 | {**************************************************************************} |
| 2 | {* *} |
| 3 | {* Copyright (C) 2003-2006 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 | |
| 24 | <h1> |
| 25 | Envoi exceptionnel de l'AX |
| 26 | </h1> |
| 27 | |
| 28 | <h2>Ton statut</h2> |
| 29 | |
| 30 | {if $axs} |
| 31 | <p> |
| 32 | Tu es actuellement inscrit aux envois exceptionnels de l'AX (pour choisir le format HTML ou texte, rends toi sur la page <a href='prefs'>des préférences</a>). |
| 33 | </p> |
| 34 | <div class='center'> |
| 35 | [<a href='ax/out'>{icon name=delete} me désinscrire des envois exceptionnels</a>] |
| 36 | </div> |
| 37 | {else} |
| 38 | <p> |
| 39 | Tu n'es actuellement pas inscrit aux envois exceptionnels de l'AX. |
| 40 | </p> |
| 41 | <div class='center'> |
| 42 | [<a href='ax/in'>{icon name=add} m'inscrire</a>] |
| 43 | </div> |
| 44 | {/if} |
| 45 | |
| 46 | <h2>Les archives</h2> |
| 47 | |
| 48 | <table class="bicol" cellpadding="3" cellspacing="0" summary="liste des NL"> |
| 49 | <tr> |
| 50 | <th>date</th> |
| 51 | <th>titre</th> |
| 52 | </tr> |
| 53 | {if $ax_rights && !$new} |
| 54 | <tr class="pair"> |
| 55 | <td colspan="2" class="center"> |
| 56 | <a href="ax/edit">{icon name=page_edit} Proposer un nouvel email</a> |
| 57 | </td> |
| 58 | </tr> |
| 59 | {elseif $ax_rights && $new} |
| 60 | <tr class="pair"> |
| 61 | <td><a href="ax/edit">{icon name=page_edit} Éditer la demande</a></td> |
| 62 | <td> |
| 63 | {if $new->title()} |
| 64 | <a href="ax/show/{$new->id()}"><strong>{$new->title(true)}</strong></a> |
| 65 | {/if} |
| 66 | </td> |
| 67 | </tr> |
| 68 | {/if} |
| 69 | {foreach item=al from=$ax_list} |
| 70 | <tr class="{cycle values="impair,pair"}"> |
| 71 | <td>{$al.date|date_format}</td> |
| 72 | <td> |
| 73 | <a href="ax/show/{$al.id}">{$al.titre}</a> |
| 74 | </td> |
| 75 | </tr> |
| 76 | {/foreach} |
| 77 | </table> |
| 78 | |
| 79 | {if $ax_rights} |
| 80 | <p>Il y a actuellement {$count} inscrits aux envois.</p> |
| 81 | {/if} |
| 82 | |
| 83 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |