Bug 18397: (follow-up) Some tiny style and spelling changes
* cc is an abbreviation, so updated to CC
* Adding consistency with punctuation for error messages
* Updated a borrower to patron
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit e8c3142d81
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
db5e44fa1b
commit
0e00f4b193
1 changed files with 5 additions and 5 deletions
|
@ -100,7 +100,7 @@
|
|||
<td>
|
||||
[% IF ( QUEUED_MESSAGE.failure_code ) %]
|
||||
[% IF ( QUEUED_MESSAGE.failure_code == "INVALID_BORNUMBER" ) %]<span class="clearfix">Invalid borrowernumber [% borrowernumber | html %]</span>
|
||||
[% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_EMAIL' ) %]<span class="clearfix">Unable to find an email address for this borrower</span>
|
||||
[% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_EMAIL' ) %]<span class="clearfix">Unable to find an email address for this patron</span>
|
||||
[% ELSIF (matches = QUEUED_MESSAGE.failure_code.match('INVALID_EMAIL:(\w+)') ) %]<span class="clearfix">Invalid [% matches.0 | html %] email address found [% borrowernumber | html %]</span>
|
||||
[% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_FROM' ) %]<span class="clearfix">Missing from email address</span>
|
||||
[% ELSIF ( QUEUED_MESSAGE.failure_code == 'MISSING_SMS' ) %]<span class="clearfix">Missing SMS number</span>
|
||||
|
@ -108,18 +108,18 @@
|
|||
[% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_NOTES' ) %]<span class="clearfix">No notes from SMS driver</span>
|
||||
[% ELSIF ( QUEUED_MESSAGE.failure_code == 'SENDMAIL' ) %]<span class="clearfix">Unhandled email failure, check the logs for further details</span>
|
||||
[% ELSIF ( QUEUED_MESSAGE.failure_code == "UNKNOWN_ERROR" ) %]<span class="clearfix">Unknown error</span>
|
||||
[% ELSE %]<span class="clearfix">Error occurred while sending email.</span>
|
||||
[% ELSE %]<span class="clearfix">Error occurred while sending email</span>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF ( QUEUED_MESSAGE.status == 'sent' ) %]
|
||||
[% IF ( QUEUED_MESSAGE.from_address ) %]
|
||||
<span class="clearfix"><span class="label">from:</span> [% QUEUED_MESSAGE.from_address | html %]</span>
|
||||
<span class="clearfix"><span class="label">From:</span> [% QUEUED_MESSAGE.from_address | html %]</span>
|
||||
[% END %]
|
||||
[% IF ( QUEUED_MESSAGE.to_address ) %]
|
||||
<span class="clearfix"><span class="label">to:</span> [% QUEUED_MESSAGE.to_address | html %]</span>
|
||||
<span class="clearfix"><span class="label">To:</span> [% QUEUED_MESSAGE.to_address | html %]</span>
|
||||
[% END %]
|
||||
[% IF ( QUEUED_MESSAGE.cc_address ) %]
|
||||
<span class="clearfix"><span class="label">cc:</span> [% QUEUED_MESSAGE.cc_address | html %]</span>
|
||||
<span class="clearfix"><span class="label">CC:</span> [% QUEUED_MESSAGE.cc_address | html %]</span>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue