diff options
author | Struan Donald <struan@exo.org.uk> | 2013-07-09 16:25:17 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-07-09 16:25:17 +0100 |
commit | a8702bca979175ed13643a100d19b57d3c319199 (patch) | |
tree | 69d1d30cb2702ec5b331ff1f70ac2477237de15f /www/js/models/draft.js | |
parent | b5b040a99b74a8c8fbeae31ce2b4d4322d6652e7 (diff) |
improve layout of drafts screen with icons to indicate if there is a
photo or location associated with the report. Also make the date a bit
friendlier
Diffstat (limited to 'www/js/models/draft.js')
-rw-r--r-- | www/js/models/draft.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/models/draft.js b/www/js/models/draft.js index 97a92ff..ec6cff6 100644 --- a/www/js/models/draft.js +++ b/www/js/models/draft.js @@ -23,7 +23,7 @@ } else { desc += 'Untitled draft'; } - desc += ', ' + this.createdDate(); + desc += '<br><small>' + moment.utc( this.get('created') ).fromNow() + '</small>'; return desc; }, |