http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7680

--- Comment #11 from Fridolyn SOMERS <fridolyn.som...@biblibre.com> ---
(In reply to Owen Leonard from comment #2)
> The new include, patron-default-view.inc, outputs the *opening* half of
> the <a> so that individual templates can control whether to show
> full name, barcode, both, etc.
In my opinion, it would be better if include contained the full anchor tag.
Because templates are hard to read when they are not correct HTML.
You could pass to include the content of the tag : 

[% IF ( PatronDefaultView == 'circ' ) %]
<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber
%]">[% text %]</a>
[% ELSE %]
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber
%]">[% text %]</a>
[% END %]

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to