Skip to content
This repository
Browse code

Show user's reports on the 'my' page

  • Loading branch information...
commit e045ba2b288b58ada1d886240346ec62f2846f58 1 parent 3ea67dc
Edmund von der Burg evdb authored
4 TODO.txt
@@ -12,6 +12,10 @@ Problem creation:
12 12 ? what should the new flow be for not-logged-in (probably unchanged).
13 13 * after becoming confirmed require user to manually send off 'pending' reports
14 14
  15 +Users:
  16 + * create a message to the user if they have reports which have not been
  17 + confirmed.
  18 +
15 19 Email:
16 20 * currently don't send email via EvEl or do any of the smarts it does - should
17 21 we switch to using it (Email::Send::EvEl...)?
2  templates/web/default/debug_footer.html
@@ -4,6 +4,8 @@
9 templates/web/default/my/my.html
@@ -2,6 +2,15 @@
2 2
3 3 <h1>[% loc('Your Reports') %]</h1>
4 4
  5 +[% FOREACH p = c.user.problems %]
  6 + [% "<ul>" IF loop.first %]
  7 +
  8 + <li><a href="[% c.uri_for( '/report', p.id ) %]">[% p.title | html %]</a> ([% loc(p.state) %])</li>
  9 +
  10 + [% "</ul>" IF loop.last %]
  11 +[% END %]
  12 +
  13 +
5 14 <p>FIXME - put in blurb here</p>
6 15
7 16 <a href="/auth/change_password">change password</a>

0 comments on commit e045ba2

Please sign in to comment.
Something went wrong with that request. Please try again.