mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Preliminary work in making the user prefs notifications page nicer.
This commit is contained in:
parent
2eccf38d60
commit
4d9ba65cdd
@ -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 %]
|
||||
|
Loading…
Reference in New Issue
Block a user