diff options
author | Chris Mytton <self@hecticjeff.net> | 2013-09-09 13:41:29 +0100 |
---|---|---|
committer | Chris Mytton <self@hecticjeff.net> | 2013-09-09 13:41:29 +0100 |
commit | 1d7b6f7ae59240f0396c5b2d528bb97269760fd6 (patch) | |
tree | b23da370a0467f2a15eb46d4ee559667abd7d024 | |
parent | 04b187d5347dd2d26874a83902e51c2532ef8a2f (diff) |
[Zurich] Add link on admin reports to AV online
Need to update the translation for the link to "Standort in AV-Online
anzeigen" when #414 is done.
Closes mysociety/FixMyStreet-Commercial#404
-rw-r--r-- | templates/web/zurich/admin/report_edit-sdm.html | 3 | ||||
-rw-r--r-- | templates/web/zurich/admin/report_edit.html | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/web/zurich/admin/report_edit-sdm.html b/templates/web/zurich/admin/report_edit-sdm.html index fcdb03602..c9edec61c 100644 --- a/templates/web/zurich/admin/report_edit-sdm.html +++ b/templates/web/zurich/admin/report_edit-sdm.html @@ -22,6 +22,9 @@ <ul class="no-bullets"> <li><a href="[% c.uri_for_email( '/report', problem.id ) %]">[% loc('View report on site' )%]</a></li> + +<li><a href="http://webgis.intra.stzh.ch/AV_Online/Direct.asp?Map=UP&Search=Koord&West=[% problem.local_coords.1 %]&Nord=[% problem.local_coords.0 %]&B=300" target="_blank">[% loc('Show location in AV online') %]</a></li> + <li><span class="mock-label">[% loc('Details:') %]</span> [% problem.detail | html %] [% IF problem.extra.original_detail %] <br>[% diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html index 5c5cdf182..13f1f703e 100644 --- a/templates/web/zurich/admin/report_edit.html +++ b/templates/web/zurich/admin/report_edit.html @@ -22,6 +22,8 @@ <ul class="no-bullets"> <li><a href="[% c.uri_for_email( '/report', problem.id ) %]">[% loc('View report on site' )%]</a></li> +<li><a href="http://webgis.intra.stzh.ch/AV_Online/Direct.asp?Map=UP&Search=Koord&West=[% problem.local_coords.1 %]&Nord=[% problem.local_coords.0 %]&B=300" target="_blank">[% loc('Show location in AV online') %]</a></li> + [% IF problem.state == 'fixed - council' OR problem.state == 'closed' %] <li><span class="mock-label">[% loc('Details:') %]</span> [% problem.detail | html %] [% IF problem.extra.original_detail %] |