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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt (-20 / +9 lines)
Lines 26-52 Link Here
26
        </div>
26
        </div>
27
	<div class="rows">
27
	<div class="rows">
28
		<ol>
28
		<ol>
29
        [% IF ( I ) %]
30
            [% IF ( phonepro ) %]<li><span class="label">Organization phone: </span>[% phonepro %]</li>[% END %]
31
            [% IF ( emailpro ) %]<li><span class="label">Organization email: </span>[% emailpro %]</li>[% END %]
32
        [% ELSE %]
33
            [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %]
29
            [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %]
34
            [% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span>[% phonepro %]</li>[% END %]
30
            [% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span>[% phonepro %]</li>[% END %]
35
            [% IF ( mobile ) %]<li><span class="label">Other phone: </span>[% mobile %]</li>[% END %]
31
            [% IF ( mobile ) %]<li><span class="label">Other phone: </span>[% mobile %]</li>[% END %]
36
        [% END %]
32
            [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
37
33
            [% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %]
38
    [% IF ( P ) %]
34
            [% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
39
        [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %]
35
            [% UNLESS ( I ) %]
40
        [% IF ( mobile ) %]<li><span class="label">Other phone: </span>[% mobile %]</li>[% END %]
36
                [% IF ( inititals ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
41
    [% END %]
37
                [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %]</li>[% END %]
42
	[% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
38
                [% IF ( sex ) %]<li><span class="label">Gender:</span>[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]</li>[% END %][% END %]
43
    [% UNLESS ( I ) %]
39
            [% END %]
44
        [% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %]
45
        [% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
46
    [% END %]
47
    <li><span class="label">Initials: </span>[% initials %]</li>
48
    <li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %]</li>
49
    <li><span class="label">Gender:</span>[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]</li>[% END %]
50
    [% IF ( isguarantee ) %]
40
    [% IF ( isguarantee ) %]
51
        [% IF ( guaranteeloop ) %]
41
        [% IF ( guaranteeloop ) %]
52
            <li><span class="label">Guarantees:</span><ul>[% FOREACH guaranteeloo IN guaranteeloop %]<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guaranteeloo.borrowernumber %]">[% guaranteeloo.name %]  </a></li>[% END %]</ul></li>
42
            <li><span class="label">Guarantees:</span><ul>[% FOREACH guaranteeloo IN guaranteeloop %]<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guaranteeloo.borrowernumber %]">[% guaranteeloo.name %]  </a></li>[% END %]</ul></li>
Lines 67-73 Link Here
67
	<ol>
57
	<ol>
68
    <li><span class="label">Card number: </span>[% cardnumber %]</li>
58
    <li><span class="label">Card number: </span>[% cardnumber %]</li>
69
	<li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li>
59
	<li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li>
70
    <li><span class="label">Category: </span>[% description %] ([% categorycode %])</li>
60
    <li><span class="label">Category: </span>[% categoryname %] ([% categorycode %])</li>
71
    <li><span class="label">Registration date: </span>[% dateenrolled | $KohaDates %]</li>
61
    <li><span class="label">Registration date: </span>[% dateenrolled | $KohaDates %]</li>
72
    <li><span class="label">Expiration date: </span>
62
    <li><span class="label">Expiration date: </span>
73
    [% IF ( was_renewed ) %]
63
    [% IF ( was_renewed ) %]
74
- 

Return to bug 19129