aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/fixamingata/front/recent.html
blob: 4cff9eba99d809024c047acb6b38a58372988659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
    [%
        recent_photos = c.cobrand.recent_photos('front', 5);
    %]

    <div id="front-recently">
        <div style="padding-bottom: 32px;"><a href="https://play.google.com/store/apps/details?id=se.sambruk.fixamingata"><img alt="FixaMinGata på Google Play" src="/cobrands/fixamingata/images/google_play_logo.png" style="height: 32px; width: 108px;"></a><a href="http://appstore.com/fixamingata"><img alt="FixaMinGata på App Store" src="/cobrands/fixamingata/images/itunes_store_logo.png" style="height: 32px; margin-left: 16px; width: 108px;"></a><a href="https://twitter.com/FixaMinGata"><img alt="FixaMinGata på Twitter" src="/cobrands/fixamingata/images/icon-twitter-black.png" style="height: 32px; margin-left: 16px; width: 32px;"></a><a href="https://www.facebook.com/FixaMinGata"><img alt="FixaMinGata på Facebook" src="/cobrands/fixamingata/images/icon-facebook-black.png" style="height: 32px; padding-left: 16px; width: 32px;"></a></div>
        [% IF recent_photos.size %]
        <h2>
            [% loc('Recently reported problems') %]
        </h2>

        <section class="full-width">
            <ul class="item-list item-list--reports">
            [% FOREACH problem IN recent_photos %]
            [% INCLUDE 'report/_item.html', no_fixed = 1 %]
            [% END %]
            </ul>
        </section>

        [% END %]
    </div>