diff options
author | Struan Donald <struan@exo.org.uk> | 2013-04-12 12:17:42 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-04-12 15:18:37 +0100 |
commit | 82e9a55192524f8f30725acb83e2a1c21a19f55f (patch) | |
tree | ccbed736871e7cecc99dc1826658b19d235fe8eb /www/js/views/reports.js | |
parent | c9415aee71d3a6967de6cbb99d453c9a01c20025 (diff) |
if no internet connection then allow the user to create an offline
report with a title, details and a photo
Alter the checking for in progress reports not to require a location
as offline reports might not have one
Also add a holding page for a users reports
Diffstat (limited to 'www/js/views/reports.js')
-rw-r--r-- | www/js/views/reports.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/www/js/views/reports.js b/www/js/views/reports.js new file mode 100644 index 0000000..3ad2c01 --- /dev/null +++ b/www/js/views/reports.js @@ -0,0 +1,9 @@ +(function (FMS, Backbone, _, $) { + _.extend( FMS, { + ReportsView: FMS.FMSView.extend({ + template: 'reports', + id: 'reports', + next: 'home' + }) + }); +})(FMS, Backbone, _, $); |