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/_inspect.html | |
parent | c1346b93ee2dd21ec501484da89aa28350631960 (diff) | |
parent | 7032edb7a72758086fcaa3e3d0b198a163cf043c (diff) |
Merge branch 'dominican-republic-improvements'
Diffstat (limited to 'templates/web/base/report/_inspect.html')
-rw-r--r-- | templates/web/base/report/_inspect.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/web/base/report/_inspect.html b/templates/web/base/report/_inspect.html index 5e97de3f4..d2ba1cc88 100644 --- a/templates/web/base/report/_inspect.html +++ b/templates/web/base/report/_inspect.html @@ -12,9 +12,15 @@ </p> <p> [% SET local_coords = problem.local_coords; %] - <strong>[% loc('Easting/Northing:') %]</strong> - <span id="problem_easting">[% local_coords.0 IF local_coords %]</span>, - <span id="problem_northing">[% local_coords.1 IF local_coords %]</span> + [% IF local_coords %] + <strong>[% loc('Easting/Northing:') %]</strong> + <span id="problem_easting">[% local_coords.0 %]</span>, + <span id="problem_northing">[% local_coords.1 %]</span> + [% ELSE %] + <strong>[% loc('Latitude/Longitude:') %]</strong> + <span id="problem_latitude">[% problem.latitude %]</span> + <span id="problem_longitude">[% problem.longitude %]</span>, + [% END %] <input type="hidden" name="longitude" value="[% problem.longitude %]"> <input type="hidden" name="latitude" value="[% problem.latitude %]"> </p> |