diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-15 14:03:40 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-18 09:43:42 +0100 |
commit | d2c9d3f4dbdff822f90a4934d858dabec2c85e17 (patch) | |
tree | 229ecaae84b7b5659953faa30fe1b281a1ff45cf /templates | |
parent | 31b8337e38b1b39db1660fb877bf1419cc6128f9 (diff) |
[Zurich] Bring all reports in line with upstream.
Update the map/list if the map is zoomed/panned, and make sure the
updated HTML list is returned.
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/web/zurich/reports/index.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/web/zurich/reports/index.html b/templates/web/zurich/reports/index.html index f7383dfee..8bec64c86 100755 --- a/templates/web/zurich/reports/index.html +++ b/templates/web/zurich/reports/index.html @@ -13,17 +13,17 @@ <h1>[% loc('All Reports') %]</h1> <section class="full-width"> - [% INCLUDE 'pagination.html', param = 'p' %] + <div class="js-pagination"> + [% INCLUDE 'pagination.html', param = 'p' %] + </div> - [% IF problems.0 %] - <ul class="item-list item-list--reports"> - [% FOREACH problem IN problems.0 %] - [% INCLUDE 'reports/_list-entry.html' %] - [% END %] - </ul> - [% END %] + <div id="js-reports-list"> + [% INCLUDE 'reports/_problem-list.html' %] + </div> - [% INCLUDE 'pagination.html', param = 'p' %] + <div class="js-pagination"> + [% INCLUDE 'pagination.html', param = 'p' %] + </div> </section> </div> |