[Koha-bugs] [Bug 17492] Show warning if patron's age is out of category limits

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 24 21:00:09 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17492

--- Comment #4 from Josef Moravec <josef.moravec at gmail.com> ---
Comment on attachment 56805
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56805
Added warning about age being of-of-limits

Review of attachment 56805:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17492&attachment=56805)
-----------------------------------------------------------------

::: koha-tmpl/intranet-tmpl/prog/en/includes/category-out-of-age-limit.inc
@@ +1,1 @@
> +[% IF age_limitations %]

IFs like this are use in .tt files, so this is duplicate

::: koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ +790,4 @@
>                  [% IF ( odues ) %]<li>[% IF ( nonreturns ) %]<span class="circ-hlt">Overdues: Patron has ITEMS OVERDUE.</span> <a href="#checkouts">See highlighted items below</a>[% END %]</li>
>              [% END %]
>  
> +            [% IF ( charges || age_limitations ) %]

Is this IF really necessary?

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


More information about the Koha-bugs mailing list