[%# admin/importer/detail.tt Details for pending imports for a user Authors: Afuna Copyright (c) 2015-2017 by Dreamwidth Studios, LLC. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. For a copy of the license, please reference 'perldoc perlartistic' or 'perldoc perlgpl'. %] [%- sections.title = '.title' | ml -%] [%- USE date -%] Pending imports for [% username %]. [% IF errmsg %]

[% errmsg | ml %]

[% END %] [%- IF import_items.defined && import_items.size > 0 -%] [%- FOREACH import_id = import_items.keys.sort -%]

Import #[% import_id %]

[%- FOREACH item = import_items.$import_id.pairs -%] [%- END -%]
[% '.col.item' | ml %] [% '.col.status' | ml %] [% '.col.created' | ml %] [% '.col.lasttouch' | ml %] [% '.col.source' | ml %]
[% item.key %] [% item.value.status %] [% date.format( item.value.created ) %] [% item.value.last_touch ? date.format( item.value.last_touch ) : "-" %] [% item.value.source %]
[%- END %] [%- ELSE -%]

[% '.error.none_pending' | ml %]

[%- END -%]