Files
Widerhall/static/templates/archive.st

43 lines
1.1 KiB
Smalltalk

<!DOCTYPE html>
<html>
«head()»
<body id="archive">
«navigation()»
«userinfo()»
«messages()»
<h1>«data.list»&nbsp; &nbsp;Listen-Archiv</h1>
<fieldset>
<legend>Abonnement</legend>
<a href="subscribe?list=«data.list»">abonnieren</a>
<a href="unsubscribe?list=«data.list»">abbestellen</a>
</fieldset>
«if(data.month)»
<table>
<tr>
<th>Datum</th>
<th>Absender</th>
<th>Betreff</th>
«if (data.moderator)»
<th>Aktionen</th>
«endif»
</tr>
</table>
<script type="text/javascript">
loadArchive('«data.list»','«data.month»');
</script>
«else»
<table>
<tr>
<th>Monat</th>
<th>Zahl der Nachrichten</th>
</tr>
</table>
<script type="text/javascript">
loadArchiveSummary('«data.list»');
</script>
«endif»
«footer()»
</body>
</html>