Bug 13095: An email will be sent shortly
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 16 Oct 2014 11:48:36 +0000 (13:48 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 28 Oct 2014 13:46:18 +0000 (10:46 -0300)
This patch adjusts two instances where Koha says that an email has
been sent while it is just enqueued (put in the message queue). The
crontab example still suggests to run process_message_queue once an hour
and the manual even speaks about 1-4 hours.

In the process of selfregistration and sharing a shelf, I have adjusted
the text "has been sent" to "will be sent shortly". This covers imo
the one-hour frequency.

When writing this patch, I have examined all calls of EnqueueLetter;
I only found these two occurrences to be of interest.

Note: I would recommend to increase this frequency in the documentation,
but consider that for now to be outside the scope of this report.

Test plan:
[1] Self-register a new user with verification by email required. Look at
    the text when you submit your data.
[2] Share a list with someone else. Look at the text when you submit the
    invitation.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, small string change.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt

index 1900acc..2fac057 100644 (file)
@@ -29,7 +29,7 @@
                         <div id="confirmation-pending" class="alert alert-info">
                             <h1>Please confirm your registration</h1>
 
-                            <p>A confirmation email has been sent to the email address <strong>[% email %]</strong>.</p>
+                            <p>A confirmation email will be sent shortly to the email address <strong>[% email %]</strong>.</p>
 
                             <p>Your account will not be activated until you follow the link provided in the confirmation email.</p>
                         </div>
index 05a305b..6891891 100644 (file)
@@ -66,7 +66,7 @@
     [% ELSIF op=='conf_invite' %]
         <div id="conf_invite">
         [% IF approvedaddress %]
-        <p>An invitation to share list <i>[% shelfname %]</i> has been sent to [% approvedaddress %].</p>
+        <p>An invitation to share list <i>[% shelfname %]</i> will be sent shortly to [% approvedaddress %].</p>
         [% END %]
         [% IF failaddress %]
             <p>Something went wrong while processing the following addresses. Please check them. These are: [% failaddress %]</p>