diff options
Diffstat (limited to 'templates/web/base')
-rw-r--r-- | templates/web/base/offline/appcache.html | 2 | ||||
-rw-r--r-- | templates/web/base/report/_item.html | 3 | ||||
-rw-r--r-- | templates/web/base/report/_main.html | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/templates/web/base/offline/appcache.html b/templates/web/base/offline/appcache.html index 766c27c1a..6f701321a 100644 --- a/templates/web/base/offline/appcache.html +++ b/templates/web/base/offline/appcache.html @@ -5,4 +5,6 @@ <p>Sorry, we don’t have a good enough connection to fetch that page, or the page wasn’t found or there was a server error. Please try again later.</p> +<ul class="item-list item-list--reports" id="offline_list"></ul> + [% INCLUDE 'footer.html' %] diff --git a/templates/web/base/report/_item.html b/templates/web/base/report/_item.html index 0f42b00ce..c3e88aed2 100644 --- a/templates/web/base/report/_item.html +++ b/templates/web/base/report/_item.html @@ -1,4 +1,5 @@ -<li class="item-list__item item-list--reports__item [% item_extra_class %]" data-report-id="[% problem.id | html %]"> +<li class="item-list__item item-list--reports__item [% item_extra_class %]" + data-report-id="[% problem.id | html %]" data-lastupdate="[% problem.lastupdate %]"> <a href="[% c.cobrand.base_url_for_report( problem ) %][% problem.url %]"> [% IF problem.photo %] <img class="img" height="60" width="90" src="[% problem.photos.first.url_fp %]" alt=""> diff --git a/templates/web/base/report/_main.html b/templates/web/base/report/_main.html index 4de26535c..d5224f23e 100644 --- a/templates/web/base/report/_main.html +++ b/templates/web/base/report/_main.html @@ -5,7 +5,7 @@ <a href="[% c.uri_for( '/around', { lat => latitude, lon => longitude } ) %]" class="problem-back js-back-to-report-list">[% loc('Back to all reports') %]</a> -<div class="problem-header clearfix" problem-id="[% problem.id %]"> +<div class="problem-header clearfix" data-lastupdate="[% problem.lastupdate %]"> [% IF c.user.has_permission_to('planned_reports', problem.bodies_str_ids) %] <form method="post" action="/my/planned/change" id="planned_form" class="hidden-label-target"> |