[% BLOCK value_or_nbsp -%] [%- IF value %][% value | html %][% ELSE %] [% END %] [%- END %] [% BLOCK format_time -%] [%- IF time %][% time.ymd %] [% time.hms %][% ELSE %][% no_time || ' ' %][% END %][% no_time = '' %] [%- END %] [% BLOCK abuse_button -%] [% IF allowed_pages.abuse_edit -%] [% IF email_in_abuse %][% loc('(Email in abuse table)') %][% ELSE %][% END %] [%- END %] [%- END %] [% BLOCK flag_button -%] [% IF user.flagged || user_flagged %][% ELSE %][% END %] [%- END %] [%# note: date format here (i.e., dd.mm.YYYY) currently used by Zurich %] [% BLOCK format_date -%] [%- IF this_date %] [% this_date.strftime('%d.%m.%Y') %] [% ELSE %][% no_time || ' ' %][% END %][% no_time = '' %] [%- END %] [% BLOCK sort_link %][% IF order == choice %][% c.uri_with( d => 1 - dir ) %][% ELSE %][% c.uri_with( { o => choice, d => 0 } ) %][% END %][% END %] [% BLOCK sort_arrow %] [% IF order == choice %] [% IF dir %] ▼ [% ELSE %] ▲ [% END %] [% ELSE %] [% END %] [% END %]