From de5fb2b405d8520b9c93bae544d33b22c48dd139 Mon Sep 17 00:00:00 2001 From: Josef Moravec <josef.moravec@gmail.com> Date: Tue, 18 Oct 2016 00:03:08 +0000 Subject: [PATCH] Bug 17434: Moremember displaying primary and secondary phone number twice Test plan: 1) Create patron category with category code "P" and create a patron with this category 2) Fill in either the primary or other phone number 3) Go to patron details page (moremember.pl) => without patch you see primary/other phone duplicated => with patch you should see the number only once as expected Signed-off-by: Lucio Moraes <lmoraes@catalyst.net.nz> --- koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 4 ---- 1 file changed, 4 deletions(-) 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 da0deca..0c00dbb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -236,10 +236,6 @@ function validate1(date) { [% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %] [% END %] - [% IF ( P ) %] - [% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone | html %]</a></li>[% END %] - [% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %] - [% END %] [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %] [% UNLESS ( I ) %] [% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email | html %]</a></li>[% END %] -- 2.1.4