hpr-tools/Community_News/mailnote_template2.tpl

23 lines
722 B
Smarty

[%# mailnote_template2.tpl
# This is an alternative template for use with the 'summarise_mail' script.
# It generates a plain text version of the mail threads and is intended to
# be used by the Community News hosts when reading through the month's
# message threads.
-%]
[%- aa = 'archived-at' -%]
[%- FOREACH key IN threads.keys.sort -%]
From: [% threads.$key.from.0 %]
Date: [% threads.$key.date %]
Subject: [% threads.$key.subject %]
Link: [% threads.$key.thread %]
Messages: [% threads.$key.count %]
--------------------------------------------------------------------------------
[%- END -%]
Total messages this month: [% total %]
[%#
# vim: syntax=tt2:ts=8:sw=4:ai:et:tw=78:fo=tcrqn21
-%]