Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Lari Taskula 05ea6ba1a8 Bug 12426: Allow resending of messages from the notices tab in the patron account
This patch adds a link 'Resend' under a notice in 'failed' status
in the Patron's Notices tab.

By clicking the link, we will request notices.pl with parameter
"resendnotice=XXXXX" where XXXXX is message_id. In notices.pl,
we then check whether the given message is actually in 'failed'
status. If so, we use the C4::Letters::ResendMessage(123) to
change the status of the message into 'pending'. This way it
will be processed again by the cronjob process_message_queue.pl.

To test, find/create a Patron that has failed notices in message_queue:
1. Enable EnchancedMessagingPreferences system preference
2. Go to Patrons -> Notices
3. In the Notice column, click the title of the failed message
4. Observe that there is nothing for resending the failed message
5. Apply patch.
6. Reload Notices page and repeat step 3
7. Observe that there is now a link "Resend" in the Status-column
8. Click Resend
9. Observe that the message gets into 'pending' status

Works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-03 20:16:06 +00:00
..
acqui Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
admin Bug 15887: Revise layout and behavior of item search fields management 2016-03-02 22:36:17 +00:00
authorities Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
basket Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
batch
catalogue Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
cataloguing Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
circ Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
common Bug 14193 - Accessibility: Searching patrons using the alphabetic index doesn't work 2016-01-23 18:50:47 +00:00
course_reserves
errors Bug 15288: Error pages: Code duplication removal and better translatability 2016-01-27 05:57:34 +00:00
help Bug 11023: Automatic item modification by age (Was Toggle "new" status") 2016-03-02 22:56:31 +00:00
installer Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
labels Bug 15662: String and translatability fix to Label Creator 2016-02-24 03:44:34 +00:00
members Bug 12426: Allow resending of messages from the notices tab in the patron account 2016-03-03 20:16:06 +00:00
offline_circ Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
patron_lists Bug 13778: Only the last column is not sortable 2016-02-24 02:46:05 +00:00
patroncards Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
plugins Bug 15592 - spelling mistake in ~/Koha/koha-tmpl/intranet-tmpl/p./plugins/plugins-upload.tt 2016-01-27 02:47:41 +00:00
reports Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
reserve Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
reviews Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
rotating_collections Bug 15830 - Move Rotating Collections actions into a drop-down list 2016-02-24 03:14:27 +00:00
serials Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
services Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
sms
suggestion Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
tags Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
test
tools Bug 11023: Automatic item modification by age (Was Toggle "new" status") 2016-03-02 22:56:31 +00:00
virtualshelves Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
about.tt Bug 7143: Release team for 3.24 2016-03-02 03:48:19 +00:00
auth.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
intranet-main.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00