From bd6404608ab36a7ba5a1031fb512d67c161975f8 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 18 Jul 2011 13:03:32 -0400 Subject: [PATCH] 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 --- .../prog/en/modules/reports/dictionary.tt | 94 +++++++++---------- 1 file 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 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 ) %]
-- 2.39.5