Bugzilla – Attachment 44437 Details for
Bug 14157
Show notices tab with EnhancedMessagingPreferences deactivated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14157 : Notices tab in the patron record should not depend on EnhancedMessagingPreferences to display
Bug-14157--Notices-tab-in-the-patron-record-should.patch (text/plain), 3.29 KB, created by
Sophie MEYNIEUX
on 2015-11-04 18:18:45 UTC
(
hide
)
Description:
Bug 14157 : Notices tab in the patron record should not depend on EnhancedMessagingPreferences to display
Filename:
MIME Type:
Creator:
Sophie MEYNIEUX
Created:
2015-11-04 18:18:45 UTC
Size:
3.29 KB
patch
obsolete
>From dc89cfd543845298fe99bfb2a9dcdfd6f779536c Mon Sep 17 00:00:00 2001 >From: Sophie Meynieux <sophie.meynieux@biblibre.com> >Date: Wed, 4 Nov 2015 19:04:26 +0100 >Subject: [PATCH] Bug 14157 : Notices tab in the patron record should not > depend on EnhancedMessagingPreferences to display > >Overdue and Hold notices can be sent even if EnhancedMessagingPreference is set to "Don't Allow", so Notices tab have to be visible in all cases. > >Test plan : > - without patch : > - set EnhancedMessagingPreference to "Don't Allow" and go to patron record : there is no Notices tab > - set EnhancedMessagingPreference to "Allow" and og to patron record : there is a Notices tab > > - apply this patch : > - go to patron record, you cas see a Notices tab > - change the value of EnhanceMessagingPreferences, Notices tab is always visible. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 2 -- > koha-tmpl/intranet-tmpl/prog/en/includes/members-menu.inc | 2 -- > 2 files changed, 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >index 9137efb..6393a04 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -82,9 +82,7 @@ > [% IF ( CAN_user_parameters ) %] > [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=MEMBERS&modules=circulation&object=[% borrowernumber %]&src=circ">Modification log</a></li> > [% END %] >- [% IF ( EnhancedMessagingPreferences ) %] > [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]">Notices</a></li> >- [% END %] > <!-- Added IF statement to check if user has borrowers permission. The menu item will not be shown unless user has borrowers permission --> > [% IF ( CAN_user_borrowers ) %] > [% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber %]">Statistics</a></li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-menu.inc >index e7e8772..486c3ee 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-menu.inc >@@ -12,9 +12,7 @@ > [% IF ( CAN_user_parameters ) %] > [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=MEMBERS&action=MODIFY&object=[% borrowernumber %]">Modification log</a></li> > [% END %] >- [% IF ( EnhancedMessagingPreferences ) %] > [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]">Notices</a></li> >- [% END %] > [% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber %]">Statistics</a></li> > [% IF EnableBorrowerFiles %] > [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrowernumber %]">Files</a></li> >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14157
:
44437
|
44450
|
44457