Jonathan Druart
5825026448
This patch has been generated with the script provided on bug 21576. It only affects variable used in the href attribute of a link *when* href it the first attribute of the node (grep "a href") Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
90 lines
4.2 KiB
Text
90 lines
4.2 KiB
Text
[% USE Koha %]
|
|
[% USE KohaDates %]
|
|
[% SET footerjs = 1 %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Check duplicate patron</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
|
|
<body id="pat_moremember-brief" class="pat">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
<h3>[% UNLESS ( I ) %]
|
|
[% title | html %] [% firstname | html %] [% END %] [% surname | html %] ([% cardnumber | html %])</h3>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-6">
|
|
<div id="patron-information">
|
|
|
|
[% UNLESS ( I ) %][% IF ( othernames ) %]“[% othernames | html %]”[% END %]
|
|
<div class = "address">
|
|
<ul>
|
|
[% IF Koha.Preference( 'AddressFormat' ) %]
|
|
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
|
|
[% ELSE %]
|
|
[% INCLUDE 'member-display-address-style-us.inc' %]
|
|
[% END %]
|
|
</ul>
|
|
</div>
|
|
<div class="rows">
|
|
<ol>
|
|
[% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone | html %]</li>[% END %]
|
|
[% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span>[% phonepro | html %]</li>[% END %]
|
|
[% IF ( mobile ) %]<li><span class="label">Other phone: </span>[% mobile | html %]</li>[% END %]
|
|
[% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax | html %]</li>[% END %]
|
|
[% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a href="mailto:[% email | uri %]">[% email | html %]</a></li>[% END %]
|
|
[% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a href="mailto:[% emailpro | uri %]">[% emailpro | html %]</a></li>[% END %]
|
|
[% UNLESS ( I ) %]
|
|
[% IF ( inititals ) %]<li><span class="label">Initials: </span>[% initials | html %]</li>[% END %]
|
|
[% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %]</li>[% END %]
|
|
[% IF ( sex ) %]<li><span class="label">Gender:</span>[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex | html %][% END %]</li>[% END %][% END %]
|
|
[% END %]
|
|
[% IF ( isguarantee ) %]
|
|
[% IF ( guaranteeloop ) %]
|
|
<li><span class="label">Guarantees:</span><ul>[% FOREACH guaranteeloo IN guaranteeloop %]<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guaranteeloo.borrowernumber | uri %]">[% guaranteeloo.name | html %] </a></li>[% END %]</ul></li>
|
|
[% END %]
|
|
[% ELSE %]
|
|
[% IF ( guarantor.borrowernumber ) %]
|
|
<li><span class="label">Guarantor:</span><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantor.borrowernumber | uri %]">[% guarantor.surname | html %], [% guarantor.firstname | html %]</a></li>
|
|
[% END %]
|
|
[% END %]
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xs-6">
|
|
<div id="patron-library-details">
|
|
<h3>Library use</h3>
|
|
<div class="rows">
|
|
<ol>
|
|
<li><span class="label">Card number: </span>[% cardnumber | html %]</li>
|
|
<li><span class="label">Borrowernumber: </span> [% borrowernumber | html %]</li>
|
|
<li><span class="label">Category: </span>[% categoryname | html %] ([% categorycode | html %])</li>
|
|
<li><span class="label">Registration date: </span>[% dateenrolled | $KohaDates %]</li>
|
|
<li><span class="label">Expiration date: </span>
|
|
[% IF ( was_renewed ) %]
|
|
<strong class="reregistrinfo">[% dateexpiry | $KohaDates %]</strong>
|
|
[% ELSE %]
|
|
[% dateexpiry | $KohaDates %]
|
|
[% END %]
|
|
</li>
|
|
<li><span class="label">Library: </span>[% branchname | html %]</li>
|
|
|
|
[% IF ( sort1 ) %]<li><span class="label">Sort field 1:</span>[% lib1 | html %]</li>[% END %]
|
|
[% IF ( sort2 ) %]<li><span class="label">Sort field 2:</span>[% lib2 | html %]</li>[% END %]
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<fieldset class="action"><input type="button" class="close" value="Close window" /></fieldset>
|
|
</div>
|
|
</div>
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
|