[Koha-bugs] [Bug 2889] templates should use loop_context_vars __odd__

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 11 21:02:28 CEST 2014


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW

--- Comment #9 from Owen Leonard <oleonard at myacpl.org> ---
This bug is still valid. I see many instances with something like this:

    [% IF ( user.toggle ) %]
      <tr>
    [% ELSE %]
      <tr class="highlight">
    [% END %]

These can be converted to use [% IF ( loop.odd ) %] (which is already used in
many places in the templates) or eliminated because the table is being
manipulated by the DataTables plugin.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list