Bugzilla – Attachment 12212 Details for
Bug 7986
Export issues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7986: Followup: Hide the export link unless sysprefs are set
Bug-7986-Followup-Hide-the-export-link-unless-sysp.patch (text/plain), 2.29 KB, created by
Jonathan Druart
on 2012-09-14 09:40:46 UTC
(
hide
)
Description:
Bug 7986: Followup: Hide the export link unless sysprefs are set
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-09-14 09:40:46 UTC
Size:
2.29 KB
patch
obsolete
>From 24dee6fc0f3ff303ec276acf7ce140f424677e48 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >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 >--- > .../intranet-tmpl/prog/en/modules/circ/circulation.tt | 16 +++++++++------- > 1 file changed, 9 insertions(+), 7 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..7ffe0be 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -931,13 +931,15 @@ No patron matched <span class="ex">[% message %]</span> > [% END %] > <input type="submit" name="renew_checked" value="Renew or Return checked items" /> > <input type="submit" id="renew_all" name="renew_all" value="Renew all" /> >- <br/><br/> >- Don't export fields : <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% export_remove_fields %]" title="Use for iso2709 exports" /> >- <span id="exportmenuc">Export</span> >- <input type="hidden" name="op" value="export" /> >- <input type="hidden" id="export_format" name="format" value="iso2709" /> >- <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" /> >- <input type="hidden" id="record_type" name="record_type" value="bibs" /> >+ [% IF export_remove_fields OR export_with_csv_profile %] >+ <br/><br/> >+ Don't export fields : <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% export_remove_fields %]" title="Use for iso2709 exports" /> >+ <span id="exportmenuc">Export</span> >+ <input type="hidden" name="op" value="export" /> >+ <input type="hidden" id="export_format" name="format" value="iso2709" /> >+ <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" /> >+ <input type="hidden" id="record_type" name="record_type" value="bibs" /> >+ [% END %] > </fieldset> > [% END %] > </form> >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7986
:
9269
|
9972
|
10635
|
10675
|
11002
|
11388
|
11407
|
11408
|
11409
|
11972
|
11998
|
11999
|
12000
|
12168
|
12212
|
12296
|
12457
|
12819
|
12821
|
12822
|
12824
|
12840
|
12841
|
12850
|
12882