From aa5e4dcd568edea0894713a18f3e7545d945d5fb Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 6 Jun 2015 13:03:43 +0200 Subject: [PATCH] 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 No problems on patron pages, no more circ-menu.tt No errors Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 46a2585b01255b4257ccb6ca4617e341b0bbb301) Signed-off-by: Chris Cormack --- .../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 5c953a5266..0000000000 --- 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 %] -
[% borrower.firstname %] [% IF borrower.othernames %] ([% borrower.othernames %]) [% END %] [% borrower.surname %] ([% borrower.cardnumber %])
- -
    - [% IF ( patronimages ) %] - [% IF borrower.has_picture %] -
  • [% borrower.firstname %] [% borrower.surname %] ([% borrower.cardnumber %])
  • - [% ELSE %] -
  • [% borrower.firstname %] [% borrower.surname %] ([% borrower.cardnumber %])
  • - [% 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 ) %]
  • - [% phone %] - [% ELSE %] - [% IF ( mobile ) %] - [% mobile %] - [% ELSE %] - [% IF ( phonepro ) %] - [% phonepro %] - [% END %] - [% END %]
  • - [% END %] - [% IF ( email ) %] - - [% ELSE %] - [% IF ( emailpro ) %] - - [% END %] - [% END %] - - [% UNLESS ( address or address2 ) %] -
  • No address stored.
  • - [% END %] - [% UNLESS ( city ) %] -
  • No city stored.
  • - [% END %] - [% UNLESS ( phone or mobile or phonepro) %] -
  • No phone stored.
  • - [% END %] - [% UNLESS ( email or emailpro) %] -
  • No email stored.
  • - [% END %] - - - - [% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN borrower.extendedattributes %] - [% IF ( extendedattribute.display_checkout ) %] - [% IF ( extendedattribute.value ) %] -
  • [% extendedattribute.description %] : [% IF ( extendedattribute.value_description ) %][% extendedattribute.value_description %][% ELSE %][% extendedattribute.value %][% END %]
  • - [% END %] - [% END %] - [% END %][% END %] -
  • Category: [% borrower.description %] ([% borrower.categorycode %])
  • -
  • Home library: [% IF ( borrower.branchname ) %][% borrower.branchname %][% ELSE %][% borrower.branch %][% END %]
  • -
- -[% END %] - -- 2.39.5