[% USE date %]

Add a Note

[% UNLESS is_in_view_all_page %]

Open Notes

[% IF notes.open.size %] [% FOREACH note IN notes.open %] [% END %]
NoteTagsCreated Time-
[% note.text | html | html_line_break %] [% IF note.tags.size %] [% FOREACH tag IN note.tags; tag.name; UNLESS loop.last;', ';END; END; %] [% END %] [% date.format( note.time, format => '%Y-%m-%d %H:%M:%S' ) %] Edit | Delete | Close | Suspend | Reject
[% ELSE %]

nothing is found here

[% END %]

Suspended Notes

[% IF notes.suspended.size %] [% FOREACH note IN notes.suspended %] [% END %]
NoteTagsCreated Time-
[% note.text | html | html_line_break %] [% IF note.tags.size %] [% FOREACH tag IN note.tags; tag.name; UNLESS loop.last;', ';END; END; %] [% END %] [% date.format( note.time, format => '%Y-%m-%d %H:%M:%S' ) %] Edit | Delete | Close | Open | Reject
[% ELSE %]

nothing is found here

[% END %] [% END; # for UNLESS is_in_view_all_page %] [% IF NOT is_in_view_all_page OR (is_in_view_all_page AND status == 'closed') %]

Closed Notes

[% IF notes.closed.size %] [% FOREACH note IN notes.closed %] [% END %]
NoteTagsCreated TimeClosed Time-
[% note.text | html | html_line_break %] [% IF note.tags.size %] [% FOREACH tag IN note.tags; tag.name; UNLESS loop.last;', ';END; END; %] [% END %] [% date.format( note.time, format => '%Y-%m-%d %H:%M:%S' ) %] [% date.format( note.closed_time, format => '%Y-%m-%d %H:%M:%S' ) %] Edit | Delete | re-Open
[% IF notes.closed.size == 5 %]

View All Closed

[% END %] [% ELSE %]

nothing is found here

[% END %] [% END; # END for IF NOT is_in_view_all_page OR ... %] [% IF NOT is_in_view_all_page OR (is_in_view_all_page AND status == 'rejected') %]

Rejected Notes

[% IF notes.rejected.size %] [% FOREACH note IN notes.rejected %] [% END %]
NoteTagsCreated TimeClosed Time-
[% note.text | html | html_line_break %] [% IF note.tags.size %] [% FOREACH tag IN note.tags; tag.name; UNLESS loop.last;', ';END; END; %] [% END %] [% date.format( note.time, format => '%Y-%m-%d %H:%M:%S' ) %] [% date.format( note.closed_time, format => '%Y-%m-%d %H:%M:%S' ) %] Edit | Delete | re-Open | Close
[% IF notes.rejected.size == 5 %]

View All Rejected

[% END %] [% ELSE %]

nothing is found here

[% END %] [% END; # END for IF NOT is_in_view_all_page OR ... %]