View | Details | Raw Unified | Return to bug 19129
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (-3 / +4 lines)
Lines 23-29 Link Here
23
        [% INCLUDE 'member-display-address-style-us.inc' %]
23
        [% INCLUDE 'member-display-address-style-us.inc' %]
24
    [% END %]
24
    [% END %]
25
25
26
    [% IF ( phone ) %]<li class="patronphone">
26
    [% IF ( phone || mobile || phonepro ) %]<li class="patronphone">
27
    [% IF ( phone ) %]
27
        <a href="tel:[% phone | url %]">[% phone | html %]</a>
28
        <a href="tel:[% phone | url %]">[% phone | html %]</a>
28
    [% ELSE %]
29
    [% ELSE %]
29
        [% IF ( mobile ) %]
30
        [% IF ( mobile ) %]
Lines 32-39 Link Here
32
            [% IF ( phonepro ) %]
33
            [% IF ( phonepro ) %]
33
                <a href="tel:[% phonepro | url %]">[% phonepro | html %]</a>
34
                <a href="tel:[% phonepro | url %]">[% phonepro | html %]</a>
34
            [% END %]
35
            [% END %]
35
        [% END %]</li>
36
        [% END %]
36
    [% END %]
37
    [% END %]</li>[% END %]
37
    [% IF ( email ) %]
38
    [% IF ( email ) %]
38
        <li class="email"> <a href="mailto:[% email | url %]" title="[% email | html %]">[% email | html %]</a></li>
39
        <li class="email"> <a href="mailto:[% email | url %]" title="[% email | html %]">[% email | html %]</a></li>
39
    [% ELSE %]
40
    [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-2 / +2 lines)
Lines 199-205 function searchToHold(){ Link Here
199
                [% IF ( is_child ) %]
199
                [% IF ( is_child ) %]
200
                    <li><a id="updatechild" href="#">Update child to adult patron</a></li>
200
                    <li><a id="updatechild" href="#">Update child to adult patron</a></li>
201
                [% ELSE %]
201
                [% ELSE %]
202
                    <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="Patron is an adult" id="updatechild" href="#">Update child to adult patron</a></li></li>
202
                    <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="Patron is an adult" id="updatechild" href="#">Update child to adult patron</a></li>
203
                [% END %]
203
                [% END %]
204
                [% IF Koha.Preference('intranetreadinghistory') %]
204
                [% IF Koha.Preference('intranetreadinghistory') %]
205
                    [%IF ( privacy == 2 ) %]
205
                    [%IF ( privacy == 2 ) %]
Lines 249-255 function searchToHold(){ Link Here
249
                </div>
249
                </div>
250
                <div class="modal-footer">
250
                <div class="modal-footer">
251
                    <button class="btn btn-default approve" type="submit"><i class="fa fa-check"></i> Save</button>
251
                    <button class="btn btn-default approve" type="submit"><i class="fa fa-check"></i> Save</button>
252
                    <button class="btn btn-default deny" href="#" class="cancel" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> Cancel</button>
252
                    <button class="btn btn-default deny cancel" href="#" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> Cancel</button>
253
                </div>
253
                </div>
254
            </form>
254
            </form>
255
        </div>
255
        </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-41 / +34 lines)
Lines 218-229 function validate1(date) { Link Here
218
    </div>
218
    </div>
219
    [% END %]
219
    [% END %]
220
220
221
<h3>[% UNLESS ( I ) %]
221
<h3>[% UNLESS ( is_organisation ) %]
222
   [% title | html %] [% firstname | html %] [% END %] [% surname | html %] ([% cardnumber | html %])</h3>
222
   [% title | html %] [% firstname | html %] [% END %] [% surname | html %] ([% cardnumber | html %])</h3>
223
 <div class="yui-u first">
223
 <div class="yui-u first">
224
<div id="patron-information" style="padding : .5em;">
224
<div id="patron-information" style="padding : .5em;">
225
225
226
     [% UNLESS ( I ) %][% IF ( othernames ) %]&ldquo;[% othernames | html %]&rdquo;[% END %]
226
    [% IF ( othernames ) %]&ldquo;[% othernames | html %]&rdquo;[% END %]
227
227
228
    <div class = "address">
228
    <div class = "address">
229
        [% IF Koha.Preference( 'AddressFormat' ) %]
229
        [% IF Koha.Preference( 'AddressFormat' ) %]
Lines 234-279 function validate1(date) { Link Here
234
    </div>
234
    </div>
235
		    
235
		    
236
	<div class="rows">
236
	<div class="rows">
237
		<ol>
237
    <ol>
238
        [% IF ( I ) %]
238
        [% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone | html %]</a></li>[% END %]
239
            [% IF ( phonepro ) %]<li><span class="label">Organization phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %]
239
        [% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %]
240
            [% IF ( emailpro ) %]<li class="email"><span class="label">Organization email: </span>[% emailpro | html %]</li>[% END %]
240
        [% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %]
241
        [% ELSE %]
241
        [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
242
            [% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone | html %]</a></li>[% END %]
243
            [% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %]
244
            [% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %]
245
        [% END %]
246
247
	[% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
248
    [% UNLESS ( I ) %]
249
        [% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email | html %]</a></li>[% END %]
242
        [% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email | html %]</a></li>[% END %]
250
        [% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% emailpro %]" href="mailto:[% emailpro | url %]">[% emailpro | html %]</a></li>[% END %]
243
        [% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% emailpro %]" href="mailto:[% emailpro | url %]">[% emailpro | html %]</a></li>[% END %]
251
    [% END %]
244
        [% UNLESS ( is_organisation ) %]
252
    [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
245
            [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
253
    [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %]
246
            [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %]
254
    [% IF ( sex ) %]<li><span class="label">Gender:</span>
247
            [% IF ( sex ) %]<li><span class="label">Gender:</span>
255
    [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
248
                [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
256
    </li>[% END %][% END %]
249
            </li>[% END %]
257
    [% IF guarantees %]
250
        [% END %]
258
        <li>
251
        [% IF guarantees %]
259
            <span class="label">Guarantees:</span>
252
            <li>
260
            <ul>
253
                <span class="label">Guarantees:</span>
261
                [% FOREACH guarantee IN guarantees %]
254
                <ul>
262
                    <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantee.borrowernumber %]">[% guarantee.firstname | html %] [% guarantee.surname | html %]</a></li>
255
                    [% FOREACH guarantee IN guarantees %]
256
                        <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantee.borrowernumber %]">[% guarantee.firstname | html %] [% guarantee.surname | html %]</a></li>
257
                    [% END %]
258
                </ul>
259
            </li>
260
        [% ELSIF guarantor %]
261
            <li>
262
                <span class="label">Guarantor:</span>
263
                [% IF guarantor.borrowernumber %]
264
                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantor.borrowernumber %]">[% guarantor.firstname | html %] [% guarantor.surname | html %]</a>
265
                [% ELSE %]
266
                    [% guarantor.firstname | html %] [% guarantor.surname | html %]
263
                [% END %]
267
                [% END %]
264
            </ul>
268
            </li>
265
        </li>
269
        [% END %]
266
    [% ELSIF guarantor %]
270
    </ol>
267
        <li>
268
            <span class="label">Guarantor:</span>
269
            [% IF guarantor.borrowernumber %]
270
                <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantor.borrowernumber %]">[% guarantor.firstname | html %] [% guarantor.surname | html %]</a>
271
            [% ELSE %]
272
                [% guarantor.firstname | html %] [% guarantor.surname | html %]
273
            [% END %]
274
        </li>
275
    [% END %]
276
</ol>
277
</div>
271
</div>
278
      <div class="action">
272
      <div class="action">
279
        [% IF ( guarantor.borrowernumber ) %]
273
        [% IF ( guarantor.borrowernumber ) %]
Lines 400-406 function validate1(date) { Link Here
400
<ol>
394
<ol>
401
    <li><span class="label">Card number: </span>[% cardnumber %]</li>
395
    <li><span class="label">Card number: </span>[% cardnumber %]</li>
402
	<li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li>
396
	<li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li>
403
    <li><span class="label">Category: </span>[% description %] ([% categorycode %])</li>
397
    <li><span class="label">Category: </span>[% categoryname %] ([% categorycode %])</li>
404
    <li><span class="label">Registration date: </span>[% dateenrolled | $KohaDates %]</li>
398
    <li><span class="label">Registration date: </span>[% dateenrolled | $KohaDates %]</li>
405
    
399
    
406
    <li><span class="label">Expiration date: </span>
400
    <li><span class="label">Expiration date: </span>
407
- 

Return to bug 19129