aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/reports/_rss.html
blob: 4bb30c274805b37ebf3816112e0e9e410f41de7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div class="shadow-wrap">
    <ul id="key-tools">
        <li><a rel="nofollow" id="key-tool-updates-area" class="feed" href="[% rss_url %]">[%
            SET monikers = ['bromley','hounslow'];
            IF monikers.grep(c.cobrand.moniker).size AND thing == 'council';
                'Get updates of reports in ' _ c.cobrand.moniker.ucfirst;
            ELSIF c.cobrand.moniker == 'isleofwight';
                'Get updates of reports on the Isle of Wight';
            ELSIF c.cobrand.moniker == 'bromley';
                'Get updates of reports in this ward';
            ELSIF c.cobrand.is_council;
                tprintf(loc('Get updates of %s problems'), thing);
            ELSE;
                tprintf(loc('Get updates of problems in this %s'), thing);
            END
        %]</a></li>
        [% IF children.size %]
        <li><a href="#council_wards" id="key-tool-wards" class="chevron">[% ward_text %]</a></li>
        [% END %]
    </ul>
</div>