diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-06-24 18:48:08 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-09-30 11:12:19 +0100 |
commit | 30cb5a0c4d5c3e18b65c9abddda3368fcb406dcc (patch) | |
tree | 043a39ccf182f493d4dd2a6c1fe3a690fae279cb | |
parent | 1292c3955b81ef045d7424924cc1453a04130219 (diff) |
[Zurich] Remove some parts of admin report view.
-rw-r--r-- | templates/web/zurich/admin/report_edit-sdm.html | 22 | ||||
-rw-r--r-- | templates/web/zurich/admin/report_edit.html | 22 |
2 files changed, 8 insertions, 36 deletions
diff --git a/templates/web/zurich/admin/report_edit-sdm.html b/templates/web/zurich/admin/report_edit-sdm.html index b9fb6ff4d..cc69b7024 100644 --- a/templates/web/zurich/admin/report_edit-sdm.html +++ b/templates/web/zurich/admin/report_edit-sdm.html @@ -36,26 +36,12 @@ [% END %] <dt class="print-only">[% loc('Reported:') %] <!-- Meldedatum --></dt> - <dd class="screen-no-space-after"> + <dd> <strong>[% PROCESS format_date this_date=problem.created %] [% problem.created.hms %]</strong> </dd> - <dt class="print-only">[% loc('Coordinates:') %] <!-- Koordinaten --></dt> - <dd class="screen-no-space-after print-no-space-after"> - [% problem.local_coords.join(',') %] - <input type="hidden" name="latitude" id="fixmystreet.latitude" value="[% problem.latitude %]"> - <input type="hidden" name="longitude" id="fixmystreet.longitude" value="[% problem.longitude %]"> - </dd> - <dd class="screen-no-space-after print-no-space-after"> - [% IF problem.used_map %] - [% loc('Used map') %] - [% ELSE %] - [% loc("Didn't use map") %] - [% END %] - </dd> - <dd>[% - safe = problem.postcode | html; - tprintf( loc('originally entered: “%s”'), safe ) - %]</dd> + + <input type="hidden" name="latitude" id="fixmystreet.latitude" value="[% problem.latitude %]"> + <input type="hidden" name="longitude" id="fixmystreet.longitude" value="[% problem.longitude %]"> <dt class="print-only">[% loc('Reported by:') %] <!-- Meldende Person --></dt> <dd> diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html index 0186a6286..24d80e901 100644 --- a/templates/web/zurich/admin/report_edit.html +++ b/templates/web/zurich/admin/report_edit.html @@ -55,26 +55,12 @@ [% END %] <dt class="print-only">[% loc('Reported:') %] <!-- Meldedatum --></dt> - <dd class="screen-no-space-after"> + <dd> <strong>[% PROCESS format_date this_date=problem.created %] [% problem.created.hms %]</strong> </dd> - <dt class="print-only">[% loc('Coordinates:') %] <!-- Koordinaten --></dt> - <dd class="screen-no-space-after print-no-space-after"> - [% problem.local_coords.join(',') %] - <input type="hidden" name="latitude" id="fixmystreet.latitude" value="[% problem.latitude %]"> - <input type="hidden" name="longitude" id="fixmystreet.longitude" value="[% problem.longitude %]"> - </dd> - <dd class="screen-no-space-after print-no-space-after"> - [% IF problem.used_map %] - [% loc('Used map') %] - [% ELSE %] - [% loc("Didn't use map") %] - [% END %] - </dd> - <dd>[% - safe = problem.postcode | html; - tprintf( loc('originally entered: “%s”'), safe ) - %]</dd> + + <input type="hidden" name="latitude" id="fixmystreet.latitude" value="[% problem.latitude %]"> + <input type="hidden" name="longitude" id="fixmystreet.longitude" value="[% problem.longitude %]"> [% SET fields = problem.get_extra_fields; IF fields.size %] <dd> |