@@ -, +, @@ - Correct grid structure so that page isn't narrower than it needs to be. - Move image upload messages out of message/error dialog and into table so that lines are distinct and legible. - Expand breadcrumbs specificity - Capitalization corrections --- .../prog/en/modules/tools/picture-upload.tt | 67 +++++++++++--------- 1 file changed, 37 insertions(+), 30 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt @@ -17,26 +17,27 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %] -
+File name | Card number | Result |
---|---|---|
[% filename.source %] | +[% filename.cardnumber %] | +
+ [% IF ( filename.filerrors ) %]
[% FOREACH filerror IN filename.filerrors %]
- [% IF ( filerror.DBERR ) %] ERROR: Image not imported because the database returned an error. Please refer to the error log for more details. - [% ELSIF ( filerror.IMGEXISTS ) %] ERROR: Image not imported because this patron does not exist in the database. - [% ELSIF ( filerror.MIMERR ) %] ERROR: Image not imported because the image format is unrecognized. - [% ELSIF ( filerror.CORERR ) %] ERROR: Image not imported because the image file is corrupted. - [% ELSIF ( filerror.OPNERR ) %] ERROR: Image not imported because Koha was unable to open the image for reading. - [% ELSIF ( filerror.OVRSIZ ) %] ERROR: Image not imported because the image file is too big (see online help for maximum size). - [% ELSIF ( filerror.CRDFIL ) %] ERROR: Image not imported ([% filerror.CRDFIL %] missing). - [% ELSE %] ERROR: Image not imported because of an unknown error. Please refer to the error log for more details. + [% IF ( filerror.DBERR ) %]ERROR: Image not imported because the database returned an error. Please refer to the error log for more details. + [% ELSIF ( filerror.IMGEXISTS ) %]ERROR: Image not imported because this patron does not exist in the database. + [% ELSIF ( filerror.MIMERR ) %]ERROR: Image not imported because the image format is unrecognized. + [% ELSIF ( filerror.CORERR ) %]ERROR: Image not imported because the image file is corrupted. + [% ELSIF ( filerror.OPNERR ) %]ERROR: Image not imported because Koha was unable to open the image for reading. + [% ELSIF ( filerror.OVRSIZ ) %]ERROR: Image not imported because the image file is too big (see online help for maximum size). + [% ELSIF ( filerror.CRDFIL ) %]ERROR: Image not imported ([% filerror.CRDFIL %] missing). + [% ELSE %]ERROR: Image not imported because of an unknown error. Please refer to the error log for more details. [% END %] [% END %] [% ELSE %] imported successfully. - [% END %] - + [% END %] |
+