Bug 14125

Summary: Version variable not properly replaced in csv profiles help page
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: tomascohen, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 14125: Fix template problems on csv profiles help page
[Signed-off] Bug 14125: Fix template problems on csv profiles help page
[PASSED QA] Bug 14125: Fix template problems on csv profiles help page

Description Katrin Fischer 2015-05-03 10:19:51 UTC
To see the problem:
- Go to Tools > CSV-Profiles
- Open help page
- Check link to the manual:

<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>
Comment 1 Katrin Fischer 2015-05-04 06:23:17 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2015-05-04 08:37:22 UTC Comment hidden (obsolete)
Comment 3 Kyle M Hall 2015-05-05 10:46:02 UTC
Created attachment 38845 [details] [review]
[PASSED QA] Bug 14125: Fix template problems on csv profiles help page

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>
Comment 4 Tomás Cohen Arazi 2015-05-07 15:34:34 UTC
Patch pushed to master.

Thanks Katrina!