diff options
-rw-r--r-- | TODO.txt | 4 | ||||
-rw-r--r-- | templates/web/default/debug_footer.html | 2 | ||||
-rw-r--r-- | templates/web/default/my/my.html | 9 |
3 files changed, 15 insertions, 0 deletions
@@ -12,6 +12,10 @@ Problem creation: ? what should the new flow be for not-logged-in (probably unchanged). * after becoming confirmed require user to manually send off 'pending' reports +Users: + * create a message to the user if they have reports which have not been + confirmed. + Email: * currently don't send email via EvEl or do any of the smarts it does - should we switch to using it (Email::Send::EvEl...)? diff --git a/templates/web/default/debug_footer.html b/templates/web/default/debug_footer.html index d2829575b..cf504e5a2 100644 --- a/templates/web/default/debug_footer.html +++ b/templates/web/default/debug_footer.html @@ -4,6 +4,8 @@ <li>cobrand.moniker: [% c.cobrand.moniker %]</li> <li>additional_template_paths: [% additional_template_paths.join(', ') || '--empty--' %]</li> <li>lang_code: [% lang_code %]</li> + <li>user.id: [% c.user.id || '--not logged in--' %]</li> + </ul> [% END %] diff --git a/templates/web/default/my/my.html b/templates/web/default/my/my.html index 1880f4b0d..1501c2d26 100644 --- a/templates/web/default/my/my.html +++ b/templates/web/default/my/my.html @@ -2,6 +2,15 @@ <h1>[% loc('Your Reports') %]</h1> +[% FOREACH p = c.user.problems %] + [% "<ul>" IF loop.first %] + + <li><a href="[% c.uri_for( '/report', p.id ) %]">[% p.title | html %]</a> ([% loc(p.state) %])</li> + + [% "</ul>" IF loop.last %] +[% END %] + + <p>FIXME - put in blurb here</p> <a href="/auth/change_password">change password</a> |