diff options
Diffstat (limited to 'templates/web/base/my')
-rw-r--r-- | templates/web/base/my/my.html | 7 | ||||
-rw-r--r-- | templates/web/base/my/planned.html | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/templates/web/base/my/my.html b/templates/web/base/my/my.html index 69f686f68..a61a8ea44 100644 --- a/templates/web/base/my/my.html +++ b/templates/web/base/my/my.html @@ -1,5 +1,6 @@ [% SET bodyclass = 'mappage'; + PROCESS "report/photo-js.html"; PROCESS "maps/${map.type}.html" IF problems.size; INCLUDE 'header.html', title = loc('Your Reports') %] @@ -37,8 +38,12 @@ <section class="full-width"> [% INCLUDE "reports/_list-filters.html", use_form_wrapper = 1 %] +<div class="js-pagination"> [% INCLUDE 'pagination.html', pager = problems_pager, param = 'p' %] -[% INCLUDE 'my/_problem-list.html' %] +</div> +<div id="js-reports-list"> + [% INCLUDE 'my/_problem-list.html' %] +</div> </section> [% FOREACH u IN updates %] diff --git a/templates/web/base/my/planned.html b/templates/web/base/my/planned.html index 19d29f970..eb67247c4 100644 --- a/templates/web/base/my/planned.html +++ b/templates/web/base/my/planned.html @@ -1,5 +1,6 @@ [% SET bodyclass = 'mappage'; + PROCESS "report/photo-js.html"; PROCESS "maps/${map.type}.html" IF problems.size; INCLUDE 'header.html', title = loc('Your shortlist') %] @@ -22,7 +23,9 @@ <section class="full-width"> [% INCLUDE "reports/_list-filters.html", use_form_wrapper = 1 %] +<div class="js-pagination"> [% INCLUDE 'pagination.html', pager = problems_pager, param = 'p' %] +</div> [% INCLUDE 'my/_problem-list.html' %] </section> |