From: Owen Leonard Date: Mon, 18 Jul 2011 17:03:32 +0000 (-0400) Subject: Fix for Bug 6599 - Don't show dictionary definition table if there are no definitions X-Git-Tag: v3.06.00~440 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=bd6404608ab36a7ba5a1031fb512d67c161975f8;p=koha-ffzg.git Fix for Bug 6599 - Don't show dictionary definition table if there are no definitions Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt index 23505ad4ca..c4a8da5c42 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt @@ -19,55 +19,55 @@ [% END %]

Dictionary

[% IF ( start_dictionary ) %] -

Use the dictionary to define custom criteria for reporting.

+

Use the dictionary to define custom criteria for reporting.

- -

Current Terms

-
- -Filter by area - -
-
- - - - - - - - -[% IF ( definitions ) %] -[% FOREACH definition IN definitions %] -[% UNLESS ( loop.odd ) %] - -[% ELSE %] - -[% END %] - - - - - - -[% END %] + [% IF ( definitions ) %] +

Current Terms

+ + + [% IF ( areas ) %] + Filter by area + + +
+ [% END %] +
NameDescriptionAreaDefinition 
[% definition.name %][% definition.description %][% definition.areaname %][% definition.saved_sql %]
- - - -
+ + + + + + + + [% FOREACH definition IN definitions %] + [% UNLESS ( loop.odd ) %] + + [% ELSE %] + + [% END %] + + + + + + + [% END %] +
NameDescriptionAreaDefinition 
[% definition.name %][% definition.description %][% definition.areaname %][% definition.saved_sql %]
+ + + +
+ [% END %] [% END %] - -[% END %] - [% IF ( new_dictionary ) %]