Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tt
Nicole C. Engard 0a71367dc2 Bug 5252 - Phone labels on patron creation
The labels for emails on the patron forms say 'primary' and
'secondary.' This patch does the same thing for the phones.
phone is now 'Primary phone', mobile is now 'Secondary phone',
and 'phonepro' is now 'Other phone'. This way the type of phone
does not matter and the phone that the patron wants to be called
at the most is the 'primary.'

This is just a step in the direction of fixing Bug 5252, not a
complete fix.

This patch also updated a stray reference to Home Email.  Both the
OPAC and staff client are updated with this patch.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-08-14 20:06:03 +12:00

87 lines
3.2 KiB
Text

[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog &rsaquo; Personal Details for [% firstname %] [% surname %]
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body>
<div id="doc3" class="yui-t1">
<div id="bd">
[% INCLUDE 'masthead.inc' %]
<div id="yui-main">
<div class="yui-b"><div class="yui-g">
<h3><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]'s account</a> <img src="[% themelang %]../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Personal Details</h3>
<table>
<tr><th scope="row">Name:</th><td> [% firstname %] [% surname %]</td></tr>
<tr><th scope="row">
Card Number:</th><td>[% cardnumber %]</td></tr>
</table>
<table>
<caption>Contact Details</caption>
<tr><th scope="row">Mailing Address:</th><td>[% address %], [% city %]</td></tr>
<tr><th scope="row">Permanent Address:</th><td> [% B_address %], [% B_address2 %], [% B_city %]</td></tr>
<tr><th scope="row">Primary Phone:</th><td>[% IF ( phone ) %][% phone %][% ELSE %]&nbsp;[% END %]</td></tr>
<tr><th scope="row">Secondary Phone:</th><td>[% IF ( mobile ) %][% mobile %][% ELSE %]&nbsp;[% END %]</td></tr>
<tr><th scope="row">Fax:</th><td>[% IF ( fax ) %][% fax %][% ELSE %]&nbsp;[% END %]</td></tr>
<tr><th scope="row">Email:</th><td>[% IF ( email ) %]<a href="mailto:[% email %]">[% email %]</a>[% ELSE %]&nbsp;[% END %]</td></tr>
</table>
<table>
<caption>Membership Details</caption>
<tr><th scope="row">Membership Number:</th><td> [% borrowernumber %]</td></tr>
<tr><th scope="row">Membership Category:</th><td> [% categorycode %]</td></tr>
<!-- <td>Fee:</th><td> /year, Paid</td> -->
<tr><th scope="row">Joined:</th><td>[% dateenrolled %]</td></tr>
<tr><th scope="row">Expires:</th><td>[% dateexpiry %]</td></tr>
[% IF ( joiningbranch ) %]<tr><th>Joining Branch:</th><td>[% joiningbranch %]</td></tr>[% ELSE %]&nbsp;[% END %]</table>
<table>
<caption>Identity Details</caption>
<tr><th scope="row">DoB:</th><td> [% IF ( dateofbirth ) %][% dateofbirth %][% ELSE %]&nbsp;[% END %]</td></tr>
<tr><th scope="row">Gender:</th><td>[% IF ( sex ) %][% sex %][% ELSE %]&nbsp;[% END %]</td></tr></table>
[% IF ( contactname ) %]
<table>
<caption>Alternate Contact Details</caption>
<tr><th scope="row">Alternate Contact:</th><td> [% IF ( contactname ) %][% contactname %][% ELSE %]&nbsp;[% END %]</td></tr>
<tr><th scope="row">Phone:</th><td> [% IF ( B_phone ) %][% B_phone %][% ELSE %]&nbsp;[% END %]</td></tr>
<tr><th scope="row">Relationship:</th><td> [% IF ( relationship ) %][% relationship %][% ELSE %]&nbsp;[% END %] </td></tr>
<tr><th scope="row">Notes:</th><td> [% IF ( contactnote ) %][% contactnote %][% ELSE %]&nbsp;[% END %] </td></tr>
<tr><th scope="row">Guarantor:</th><td> [% IF ( guarantorid ) %][% guarantorid %][% ELSE %]&nbsp;[% END %] </td></tr></table>
[% ELSE %]
<h4>No alternate contact on file.</h4>
[% END %]
<form action="/cgi-bin/koha/opac-userupdate.pl" method="post">
<input type="submit" name="Modify" value="Modify Your Record" />
</form>
</div>
</div>
</div>
<div class="yui-b">
<div id="leftmenus" class="container">
[% INCLUDE 'navigation.inc' %]
[% INCLUDE 'usermenu.inc' %]
</div>
</div>
</div>
[% INCLUDE 'opac-bottom.inc' %]