From 491bc14642edc6ed348df4acf5269a8d5264ed41 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 18 Jul 2011 12:39:48 -0400 Subject: [PATCH] Fix for Bug 6599 - Don't show dictionary definition table if there are no definitions Content-Type: text/plain; charset="utf-8" --- .../prog/en/modules/reports/dictionary.tt | 94 ++++++++++---------- 1 files changed, 47 insertions(+), 47 deletions(-) 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 23505ad..c4a8da5 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 ) %]
-- 1.7.3