From a99900ae9c781a9395d0c9aa21ff67339f7a078f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 14 Sep 2012 11:39:35 +0200 Subject: [PATCH] Bug 7986: Followup: Hide the export link unless sysprefs are set If at least one of both sysprefs (ExportRemoveFields and ExportWithCsvProfile) is filled, the export link is displayed --- .../prog/en/modules/circ/circulation.tt | 32 ++++++++++++-------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index c95002d..2be26b4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -763,7 +763,9 @@ No patron matched [% message %] Price Renew

select all | none

Check in

select all | none

- Export

select all | none

+ [% IF export_remove_fields OR export_with_csv_profile %] + Export

select all | none

+ [% END %] [% IF ( todayissues ) %] [% INCLUDE 'checkouts-table-footer.inc' %] @@ -833,10 +835,12 @@ No patron matched [% message %] [% END %] [% END %] - + [% IF export_remove_fields OR export_with_csv_profile %] + - + + [% END %] [% END %] [% END %] @@ -912,10 +916,12 @@ No patron matched [% message %] [% END %] [% END %] - + [% IF export_remove_fields OR export_with_csv_profile %] + - + + [% END %] [% END %] [% END %] @@ -931,13 +937,15 @@ No patron matched [% message %] [% END %] -

- Don't export fields : - Export - - - - + [% IF export_remove_fields OR export_with_csv_profile %] +

+ Don't export fields : + Export + + + + + [% END %] [% END %] -- 1.7.10.4