[% # Small chance of duplicates in the case of fixed - user followed by fixed - council %] [% SET update_state = update.problem_state_processed %] [% IF ( update_state AND update_state != global.last_state AND NOT (global.last_state == "" AND update.problem_state_processed == 'confirmed') ) OR update.mark_fixed OR update.mark_open %]

[% loc('State changed to:') %] [% update.problem_state_display %]

[%- global.last_state = update_state %] [%- IF update_state == "" AND update.mark_fixed %][% global.last_state = 'fixed - user' %][% END %] [%- IF update_state == "" AND update.mark_open %][% global.last_state = 'confirmed' %][% END %] [% END %]

[% INCLUDE meta_line %] [% IF c.user_exists AND c.user.id == update.user_id AND !update.anonymous AND NOT (c.user.from_body OR c.user.is_superuser) %] ([% loc('Hide your name?') %]) [% END %] [% mlog = update.latest_moderation_log_entry(); IF mlog %]
[% tprintf(loc('Moderated by %s at %s'), mlog.admin_user, prettify_dt(mlog.whenedited)) %] [% END %] [% IF update.get_extra_metadata('open_from_questionnaire') %]
[% loc('Still open, via questionnaire') %] [% END %]