Bugzilla – Attachment 18306 Details for
Bug 10261
Link to patron files missing from circ-menu.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10261 [Revised] Link to patron files missing from circ-menu.tt
Bug-10261-Revised-Link-to-patron-files-missing-fro.patch (text/plain), 3.29 KB, created by
Jonathan Druart
on 2013-05-22 11:02:50 UTC
(
hide
)
Description:
Bug 10261 [Revised] Link to patron files missing from circ-menu.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-05-22 11:02:50 UTC
Size:
3.29 KB
patch
obsolete
>From 8e1d44ec3a6faba4f227657a3dc92163c59da99f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 17 May 2013 12:06:25 -0400 >Subject: [PATCH] Bug 10261 [Revised] Link to patron files missing from > circ-menu.tt > >The link to patron files doesn't appear on some pages. That's because >the link was added to circ-menu.inc but not circ-menu.tt. Each is used >by different patron-related pages. This patch adds the missing link. > >To test, enable the EnableBorrowerFiles system preference and view >members/pay.pl or members.paycollect.pl. The "Files" tab should appear >in the left-hand sidebar menu. Other patron pages should show the same. > >Edit: Corrected scope of template variables which shouldn't have been >copied directly from circ-menu.inc without changing scope. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >all tests pass >--- > koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt >index faf3426..1b91a3c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt >@@ -72,13 +72,16 @@ in the global namespace %] > [% IF ( CAN_user_updatecharges ) %] > [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrower.borrowernumber %]">Fines</a></li> > [% END %] >- [% IF ( RoutingSerials ) %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% borrowernumber %]">Routing lists</a></li>[% END %] >+ [% IF ( RoutingSerials ) %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% borrower.borrowernumber %]">Routing lists</a></li>[% END %] > [% IF ( intranetreadinghistory ) %][% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrower.borrowernumber %]">Circulation history</a></li>[% END %] > [% 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=[% borrower.borrowernumber %]&src=circ">Modification log</a></li>[% END %] > [% IF ( EnhancedMessagingPreferences ) %] > [% END %] > [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrower.borrowernumber %]">Notices</a></li> >- [% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber %]">Statistics</a></li> >+ [% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrower.borrowernumber %]">Statistics</a></li> >+ [% IF EnableBorrowerFiles %] >+ [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrower.borrowernumber %]">Files</a></li> >+ [% END %] > </ul></div> > [% END %] > >-- >1.7.10.4
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 10261
:
18209
|
18248
|
18249
| 18306