diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-31 10:11:32 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-31 10:11:32 +0100 |
commit | 3d967f09d8171b283c9a90afa6407dc033e4ae42 (patch) | |
tree | 6ee61d6ae0ec96dfe9444a45bd773d9030283415 /templates/web/base/report/_item.html | |
parent | c1346b93ee2dd21ec501484da89aa28350631960 (diff) | |
parent | 7032edb7a72758086fcaa3e3d0b198a163cf043c (diff) |
Merge branch 'dominican-republic-improvements'
Diffstat (limited to 'templates/web/base/report/_item.html')
-rw-r--r-- | templates/web/base/report/_item.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/report/_item.html b/templates/web/base/report/_item.html index 712044592..e627227d4 100644 --- a/templates/web/base/report/_item.html +++ b/templates/web/base/report/_item.html @@ -46,7 +46,7 @@ [% END %] [%- IF c.cobrand.moniker != 'fixamingata' %] [%# Default: %] [%- IF problem.days_ago > 0 AND problem.days_ago <= c.cobrand.display_days_ago_threshold %] - [% tprintf( nget( loc('Reported %d day ago'), loc('Reported %d days ago'), problem.days_ago), problem.days_ago ) %] + [% tprintf( nget('Reported %d day ago', 'Reported %d days ago', problem.days_ago), problem.days_ago ) %] [%- ELSE %] [% prettify_dt( problem.confirmed, 1 ) %] [%- END %] @@ -56,7 +56,7 @@ [%- IF dist %], [% dist %]km[% END %] [%- IF problem.confirmed != problem.lastupdate AND problem.whensent != problem.lastupdate %], [%- IF problem.days_ago('lastupdate') > 0 AND problem.days_ago('lastupdate') <= c.cobrand.display_days_ago_threshold %] - [% tprintf( nget( loc('last updated %d day ago'), loc('last updated %d days ago'), problem.days_ago('lastupdate') ), problem.days_ago('lastupdate') ) %] + [% tprintf( nget('last updated %d day ago', 'last updated %d days ago', problem.days_ago('lastupdate') ), problem.days_ago('lastupdate') ) %] [%- ELSE %] [% tprintf(loc('last updated %s'), prettify_dt( problem.lastupdate, 1 ) ) %] [%- END %] |