aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/yahoo/yahoo.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/yahoo/yahoo.c')
0 files changed, 0 insertions, 0 deletions
'#n20'>20 21 22 23 24
<li class="item-list__item item-list--reports__item">
<a href="[% c.uri_for('/report', problem.id ) %]">
    [% photo_to_display = c.cobrand.allow_photo_display(problem) %]
    [% IF problem.state != 'unconfirmed' AND problem.photo AND photo_to_display %]
        [% photo_idx = photo_to_display - 1 ~%]
        <img class="img" height="60" width="90" src="[% problem.photos.${photo_idx}.url_fp %]" alt="">
    [% END %]
      [% IF problem.state != 'unconfirmed' %]
        <h3 class="item-list__heading">[% problem.title | html %]</h3>
      [% ELSE %]
        <h3 class="item-list__heading"><em>[% loc('Awaiting moderation') %]</em></h3>
      [% END %]
        <small>[% prettify_dt( problem.created, 'zurich' ) %]
            [%- IF dist %], [% dist %]km[% END %]
            [%- IF include_lastupdate AND problem.created != problem.lastupdate AND problem.whensent != problem.lastupdate %],
                [% tprintf(loc('last updated %s'), prettify_dt( problem.lastupdate, 'zurich' ) ) %]
            [%- END %]
        [% IF NOT no_fixed AND problem.is_fixed %]
            [% loc('(fixed)') %]
        [% ELSIF NOT no_fixed AND problem.is_closed %]
            [% loc('(closed)') %]
        [% END %]</small>
</a>
</li>