Preliminary work in making the user prefs notifications page nicer.

This commit is contained in:
ian%hixie.ch 2002-05-07 12:16:24 +00:00
parent 2eccf38d60
commit 4d9ba65cdd

View File

@ -5,10 +5,14 @@ TemplateToolkit
title = 'User Preferences: Notes'
%]
[% FOREACH notification = notifications %]
<p>User = [% notification.0 %], Field = [% notification.1 %], Message = [% notification.2 %]</p>
[% END %]
<ol>
[%- FOREACH notification = notifications -%]
[%- SWITCH notification.2 -%]
[%- CASE '' %]
[%- CASE DEFAULT %]
<li>[% notification.2 %] ([% notification.1 %])</li>
[%- END -%]
[%- END %]
</ol>
[% INCLUDE template.footer %]