Bug 14125: Fix template problems on csv profiles help page
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 4 May 2015 06:18:47 +0000 (08:18 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 7 May 2015 13:57:38 +0000 (10:57 -0300)
Page uses TAGS Directive in order to print TT directives
in the manual without having them interpreted, but fails
to switch back/change all following TT code, causing
problems in displaying the file correctly.

See TT documentation:
http://www.template-toolkit.org/docs/manual/Directives.html#section_TAGS

As [- ... -] showed up in translations, I chose to switch back
instead of changing the TT variable and INCLUDE.

To test:
- Go to tools > csv profiles
- Open the help page
- Verify the link to the manual includes the version and works
- Verify the footer shows up correctly with the edit buttons

Works as expected.
Signed-off-by: Marc Veron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/csv-profiles.tt

index 096ffca..2ff291b 100644 (file)
   </li>
 </ul>
 <p>Note that the authorized values won't be replaced by their descriptions.</p>
+[- TAGS default -]
 
 <p><strong>See the full documentation for CSV Profiles in the <a href="http://manual.koha-community.org/[% helpVersion %]/en/csvprofiles.html">manual</a> (online).</strong></p>
 
-[- INCLUDE 'help-bottom.inc' -]
+[% INCLUDE 'help-bottom.inc' %]