%inherit file="base.html" /> % if orphans:
% for board, in_db, in_fs in orphans:
% if in_db:
In database but missing from disk:
% for filename, postid in in_db:
>>${postid}: ${filename|h}
% endfor
% endif
% if in_db and in_fs:
% endif
% if in_fs:
Not referenced in database:
% for filename in in_fs:
## wrong way to make a link is wrong
${filename|h}
% endfor
% endif
% endfor
% else:
No orphaned files found.
% endif