Bugzilla – Attachment 40316 Details for
Bug 11804
Merge circ-menu.tt and a circ-menu.inc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 11804: Remove unused circ-menu.tt
SIGNED-OFF-Bug-11804-Remove-unused-circ-menutt.patch (text/plain), 7.00 KB, created by
Bernardo Gonzalez Kriegel
on 2015-06-18 15:39:40 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 11804: Remove unused circ-menu.tt
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2015-06-18 15:39:40 UTC
Size:
7.00 KB
patch
obsolete
>From 20eea3d8c32d5ad342a55a80459a196f5b55cc10 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sat, 6 Jun 2015 13:03:43 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 11804: Remove unused circ-menu.tt > >The formerly used circ-menu.tt is no longer referenced in the >templates and can be removed. > >To test: >- Verify all tabs in the patron account still work as > they should. >- git grep circ-menu.tt > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >No problems on patron pages, no more circ-menu.tt >No errors >--- > .../intranet-tmpl/prog/en/includes/circ-menu.tt | 100 -------------------- > 1 file changed, 100 deletions(-) > delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt >deleted file mode 100644 >index 5c953a5..0000000 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt >+++ /dev/null >@@ -1,100 +0,0 @@ >-[%# duplicates circ-menu.inc but assumes all borrower attributes are in a borrower variable rather than >-in the global namespace %] >-[% IF borrower %] >-<div class="patroninfo"><h5>[% borrower.firstname %] [% IF borrower.othernames %] ([% borrower.othernames %]) [% END %] [% borrower.surname %] ([% borrower.cardnumber %])</h5> >-<!--[if IE 6]> >-<style type="tex/css">img { width: expression(this.width > 140 ? 140: true); >-}</style> >-<![endif]--> >-<ul class="patronbriefinfo"> >- [% IF ( patronimages ) %] >- [% IF borrower.has_picture %] >- <li><img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% borrower.borrowernumber %]" id="patronimage" alt="[% borrower.firstname %] [% borrower.surname %] ([% borrower.cardnumber %])" border="0" style="max-width : 140px; margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC; width:auto !important; width:130px;" /></li> >- [% ELSE %] >- <li id="patronbasics"><img src="[% interface %]/[% theme %]/img/patron-blank.png" alt="[% borrower.firstname %] [% borrower.surname %] ([% borrower.cardnumber %])" border="0" style="margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC;" /></li> >- [% END %] >- [% END %] >- >- [% IF Koha.Preference( 'AddressFormat' ) %] >- [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] >- [% ELSE %] >- [% INCLUDE 'member-display-address-style-us.inc' %] >- [% END %] >- >- [% IF ( phone ) %]<li class="patronphone"> >- [% phone %] >- [% ELSE %] >- [% IF ( mobile ) %] >- [% mobile %] >- [% ELSE %] >- [% IF ( phonepro ) %] >- [% phonepro %] >- [% END %] >- [% END %]</li> >- [% END %] >- [% IF ( email ) %] >- <li class="email"> <a href="mailto:[% email %]" title="[% email %]">[% email %]</a></li> >- [% ELSE %] >- [% IF ( emailpro ) %] >- <li class="email"> <a href="mailto:[% emailpro %]" title="[% emailpro %]">[% emailpro %]</a></li> >- [% END %] >- [% END %] >- >- [% UNLESS ( address or address2 ) %] >- <li><span class="empty" id="noaddressstored">No address stored.</span></li> >- [% END %] >- [% UNLESS ( city ) %] >- <li><span class="empty" id="nocitystored">No city stored.</span></li> >- [% END %] >- [% UNLESS ( phone or mobile or phonepro) %] >- <li> <span class="empty">No phone stored.</span></li> >- [% END %] >- [% UNLESS ( email or emailpro) %] >- <li> <span class="empty">No email stored.</span></li> >- [% END %] >- >- >- >- [% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN borrower.extendedattributes %] >- [% IF ( extendedattribute.display_checkout ) %] >- [% IF ( extendedattribute.value ) %] >- <li class="patronattribute"><span class="patronattributelabel">[% extendedattribute.description %]</span> : [% IF ( extendedattribute.value_description ) %][% extendedattribute.value_description %][% ELSE %][% extendedattribute.value %][% END %]</li> >- [% END %] >- [% END %] >- [% END %][% END %] >- <li class="patroncategory">Category: [% borrower.description %] ([% borrower.categorycode %])</li> >- <li class="patronlibrary">Home library: [% IF ( borrower.branchname ) %][% borrower.branchname %][% ELSE %][% borrower.branch %][% END %]</li> >-</ul></div> >-<div id="menu"> >-<ul> >- [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber %]">Check out</a></li> >- [% IF ( CAN_user_borrowers ) %] >- [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]">Details</a></li> >- [% END %] >- [% IF ( CAN_user_updatecharges ) %] >- [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.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=[% borrower.borrowernumber %]">Routing lists</a></li>[% END %] >- <!-- Added check for borrowers permission as this is needed to access Cirulation History --> >- [% IF ( intranetreadinghistory && CAN_user_borrowers ) %] >- [% 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 ) %] >- [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrower.borrowernumber %]">Notices</a></li> >- [% END %] >- [% IF ( CAN_user_borrowers ) %] >- [% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrower.borrowernumber %]">Statistics</a></li> >- [% END %] >- [% 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 %] >- [% IF ( CAN_user_borrowers ) %] >- [% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% borrower.borrowernumber %]">Purchase<br/>suggestions</a></li> >- [% END %] >- [% IF CAN_user_borrowers && useDischarge %] >- [% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% borrowernumber %]">Discharge</a></li> >- [% END %] >-</ul></div> >-[% END %] >- >-- >1.7.9.5
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 11804
:
39932
|
40316
|
40318
|
40319
|
40320