[% FOREACH notif IN notifications %]

Notice: [% IF notif == 'done' %] Operation has been performed [% ELSE %] [% notif %]
[% END %] [% END %]