https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30991 --- Comment #10 from David Cook <dcook@prosentient.com.au> --- Comment on attachment 136554 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136554 Bug 30991: Fix remaining instances of [% ELSE %]0[% END %] in templates Review of attachment 136554: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=30991&attachment=136554) ----------------------------------------------------------------- ::: koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ +1307,5 @@
+ [%- IF Koha.Preference('OverDrivePasswordRequired') -%] + var OD_password_required = 1; + [%- ELSE -%] + var OD_password_required = 0; + [%- END -%]
I know it's after the fact, but would something like the following be a viable alternative with the translation tools? var OD_password_required = [% IF Koha.Preference('OverDrivePasswordRequired'); '1'; ELSE; '0'; END; %]; -- You are receiving this mail because: You are watching all bug changes.