projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes display of removed redirection.
[platal.git]
/
templates
/
newsletter
/
admin.tpl
diff --git
a/templates/newsletter/admin.tpl
b/templates/newsletter/admin.tpl
index
533d19e
..
e4d1782
100644
(file)
--- a/
templates/newsletter/admin.tpl
+++ b/
templates/newsletter/admin.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
09
Polytechnique.org *}
+{* Copyright (C) 2003-20
11
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-22,22
+22,24
@@
<h1>
<h1>
- Lettre de Polytechnique.org
+ {$nl->name}
</h1>
<table class="bicol" cellpadding="3" cellspacing="0" summary="liste des NL">
<tr>
</h1>
<table class="bicol" cellpadding="3" cellspacing="0" summary="liste des NL">
<tr>
- <th>date</th>
- <th>titre</th>
+ <th>Date</th>
+ <th>État</th>
+ <th>Titre</th>
</tr>
<tr>
</tr>
<tr>
- <td colspan='
2'><a href='admin/newsletter
/new'>Créer une nouvelle lettre</a></td>
+ <td colspan='
3'><a href='{$nl->adminPrefix()}
/new'>Créer une nouvelle lettre</a></td>
</tr>
</tr>
- {foreach item=nl from=$nl_list}
+ {foreach item=nl
i
from=$nl_list}
<tr class="{cycle values="pair,impair"}">
<tr class="{cycle values="pair,impair"}">
- <td>{$nl.date|date_format}</td>
+ <td>{$nli->date|date_format}</td>
+ <td>{$nli->state}</td>
<td>
<td>
- <a href="
admin/newsletter/edit/{$nl.id}">{$nl.titre|default:"[no titl
e]"}</a>
+ <a href="
{$nl->adminPrefix()}/edit/{$nli->id()}">{$nli->title()|default:"[Sans titr
e]"}</a>
</td>
</tr>
{/foreach}
</td>
</tr>
{/foreach}