diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-02-27 17:48:04 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-02-27 17:48:04 +0000 |
commit | b47568af59e57d6aa0dc861a1c9ca2c5ce4c707e (patch) | |
tree | 910adfc7d508bd7b1a36ea252b4620fa594726fe /templates/web/default/my | |
parent | cdc7ce7c24eb8171487294bbf43c95819f71d53e (diff) | |
parent | 863f3655955d58b16c93f99404dff715ea213489 (diff) |
Merge branch 'issues/671-guidance-on-no-reports'
Diffstat (limited to 'templates/web/default/my')
-rw-r--r-- | templates/web/default/my/my.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/web/default/my/my.html b/templates/web/default/my/my.html index a6e4000df..48a33a1d2 100644 --- a/templates/web/default/my/my.html +++ b/templates/web/default/my/my.html @@ -13,6 +13,11 @@ <h1>[% loc('Your Reports') %]</h1> +[% IF ! has_content %] +[% tprintf( loc('You haven’t created any reports yet. <a href="%s">Report a problem now.</a>'), + c.uri_for('/') ) %] +[% END %] + [% INCLUDE 'pagination.html', pager = problems_pager, param = 'p' |