[% IF page.path == '/'; SET title = loc('Recent pages in this wiki'); ELSE; SET title = loc('Recent pages in x', page.path); END; IF activetag; SET title = loc('Recent pages in x tagged with x', [page.path, activetag]); END; SET now = c.tz(objects.first.content.created).ymd; %] [% WRAPPER page/wrapper.tt title = title %]
[% IF tags.count %]
[% loc('Tags') %]: [% WHILE (tag = tags.next) %] [% IF tag.tag == activetag %] [% tag.tag %] [% ELSE %] [% tag.tag %] ([% tag.refcount %]) [% END %] [% END %]
[% END %]

[% now %]

[% first = 1 %] [% FOREACH page IN pages %] [% IF c.check_permissions(page.path,c.user).view %] [% IF now != c.tz(page.content.created).ymd; %] [% IF first; first = 0; ELSE %] [% END %] [% SET now = c.tz(page.content.created).ymd %]

[% now %]

[% END %] [% END %] [% END %]
[% loc('Page') %] [% loc('Edited by') %] [% loc('Time edited') %] [% loc('Actions') %]
[% page.name_orig %] [% page.content.creator.name %] [% c.tz(page.content.created).hms(":") %] [% loc('View Diff') %]
[% END # End WRAPPER %]