diff options
Diffstat (limited to 'templates/web/base/front/recent.html')
-rw-r--r-- | templates/web/base/front/recent.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/web/base/front/recent.html b/templates/web/base/front/recent.html new file mode 100644 index 000000000..5275cef43 --- /dev/null +++ b/templates/web/base/front/recent.html @@ -0,0 +1,23 @@ +[% + recent_photos = c.cobrand.recent_photos('front', 5); +%] + +[% IF recent_photos.size %] +<div id="front-recently"> + <h2> + [%- IF c.cobrand.moniker == 'hart' %] + Recently reported + [% ELSE %] + [% loc('Recently reported problems') %] + [% END -%] + </h2> + + <section class="full-width"> + <ul class="issue-list-a"> + [% FOREACH problem IN recent_photos %] + [% INCLUDE 'report/_item.html', no_fixed = 1 %] + [% END %] + </ul> + </section> +</div> +[% END %] |