X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fmembers%2Fmoremember.tt;h=f3d0822a3631c59b6fe7a4f864a61519b5e968f9;hb=55c8bf114e18d67595bdf83944ae393128637bf1;hp=cb69bba4e2e4b5bfc00c63ca313f836698fb53f2;hpb=be0d338366589ef80b69f287d7dbfc059476e4b2;p=srvgit
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
index cb69bba4e2..f3d0822a36 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
@@ -1,37 +1,54 @@
[% USE raw %]
[% USE Asset %]
+[% USE Context %]
[% USE Koha %]
[% USE Branches %]
+[% USE ItemTypes %]
[% USE KohaDates %]
[% USE AuthorisedValues %]
-[% USE ColumnsSettings %]
+[% USE TablesSettings %]
+[% USE Price %]
+[% PROCESS 'member-display-address-style.inc' %]
+[% PROCESS 'member-display-alt-address-style.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
-
Koha › Patrons ›
+[% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %]
+
[% UNLESS blocking_error %]
Patron details for [% INCLUDE 'patron-title.inc' no_html = 1 %]
- [% END %]
+ [% END %] › Patrons › Koha
[% INCLUDE 'doc-head-close.inc' %]
-
[% INCLUDE 'header.inc' %]
[% INCLUDE 'patron-search.inc' %]
-
- Home
- › Patrons
- › [% UNLESS blocking_error %]Patron details for [% INCLUDE 'patron-title.inc' %][% END %]
-
+
@@ -55,6 +72,10 @@
Unable to delete patrons from other libraries with current settings
Insufficient privileges.
[% END %]
+ [% IF ( error == 'CANT_DELETE_ANONYMOUS_PATRON' ) %]
+
Unable to delete patron that is set as AnonymousPatron
+
This patron cannot be deleted while set as AnonymousPatron in the system preferences.
+ [% END %]
[% IF ( error == 'CANT_DELETE' ) %]
Unable to delete patron
Insufficient privileges.
@@ -64,102 +85,23 @@
+
+ [% UNLESS ( I ) %]
+ [% patron.title | html %] [% patron.firstname | html %]
+ [% END %]
+ [% patron.surname | html %] ([% patron.cardnumber | html %])
+
+
[% IF ( was_renewed ) %]
Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]
[% END %]
- [% IF fines %]
-
-
- [% INCLUDE 'blocked-fines.inc' %]
-
-
- [% END %]
-
- [% IF ( patron_messages ) %]
-
-
Messages:
-
- [% FOREACH patron_message IN patron_messages %]
-
- [% IF(patron_message.message_type == "L") %]
-
- [% ELSE %]
-
- [% END %]
- [% patron_message.message_date | $KohaDates %]
- [% Branches.GetName( patron_message.branchcode ) | html %]
- [% IF patron_message.manager_id %]
- ( [% patron_message.get_column('manager_firstname') | html %] [% patron_message.get_column('manager_surname') | html %] )
- [% END %]
- "[% patron_message.message | html %]"
-
- [% IF patron_message.branchcode == branchcode OR Koha.Preference('AllowAllMessageDeletion') %]
- Delete
- [% END %]
-
+ [% END %]
+ [% END %]
+ [% IF patron.contactfirstname OR patron.contactname %]
+
[% patron.contactfirstname | html %] [% patron.contactname | html %][% IF patron.relationship %] ([% patron.relationship | html %])[% END %]
+ [% END %]
+
+
+ [% END %]
+
+ [% IF ( patron.primary_contact_method ) %]
+
+ Main contact method:
+ [% SWITCH patron.primary_contact_method %]
+ [% CASE 'phone' %]
+ Primary phone
+ [% CASE 'phonepro' %]
+ Secondary phone
+ [% CASE 'mobile' %]
+ Other phone
+ [% CASE 'email' %]
+ Primary email
+ [% CASE 'emailpro' %]
+ Secondary email
+ [% CASE 'fax' %]
+ Fax
[% END %]
[% END %]
@@ -290,7 +276,7 @@
[% ELSE %]
[% patron.title | html %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title | html %] [% patron.firstname | html %] [% patron.surname | html %], enter the name of an image file to upload.
[% END %]
-
Only PNG, GIF, JPEG, XPM formats are supported.
+
Only PNG, GIF, JPEG, XPM formats are supported. Maximum image size is 500KB.
@@ -364,12 +350,8 @@
[% FOREACH item IN attribute.items %]
- [% item.description | html %]:
- [% IF ( item.value_description ) %]
- [% item.value_description | html %]
- [% ELSE %]
- [% item.value| html | html_line_break %]
- [% END %]
+ [% item.type.description | html %]:
+ [% item.description | html_line_break %]