comparison doc/upgrading.txt @ 5154:f608eeecf638

issue2550891: Allow subdir in template value. Anthony (antmail) requested the ability to put templates into subdirectories. So the issue class can accept @template=issues/item to get the html/issues/issue.item.html template. Inlcude a test case for missing and existing (tal) templates. Also include a test that fails path traversal check. Add mention of subdiectoy use to customizing.txt along with some spelling fixes and ^M removal.
author John Rouillard <rouilj@ieee.org>
date Fri, 22 Jul 2016 15:19:40 -0400
parents d16ba6e6624b
children 882fa4d9bead
comparison
equal deleted inserted replaced
5153:e9801faebbe4 5154:f608eeecf638
170 page with one that uses the page template. 170 page with one that uses the page template.
171 171
172 If your deployed tracker is based on: classic, minimal, responsive or 172 If your deployed tracker is based on: classic, minimal, responsive or
173 devel templates and has not changed the html/_generic.404.html file, 173 devel templates and has not changed the html/_generic.404.html file,
174 you can copy in the new file to get this additional functionality. 174 you can copy in the new file to get this additional functionality.
175
176 Organize templates into subdirectories
177 --------------------------------------
178
179 The @template parameter to the web interface allows the use of
180 subdirectories. So a setting of @template=view/view for an issue would
181 use the template in the tracker's html/view/issue.view.html. Similarly
182 for a caller class, you could put all the templates under the
183 html/caller directory with names like: html/caller/caller.item.html,
184 html/caller/caller.index.html etc. You may want to symbolically link the
185 html/_generic* templates into your subdirectory so that missing
186 templates (e.g. a missing caller.edit.html template) can be satisfied
187 by the _generic.edit.html template.
175 188
176 Schema change to allow "Show Unassigned" issues link to work for Anonymous user 189 Schema change to allow "Show Unassigned" issues link to work for Anonymous user
177 ------------------------------------------------------------------------------- 190 -------------------------------------------------------------------------------
178 191
179 In this release the anonymous user is allowed to search the user 192 In this release the anonymous user is allowed to search the user

Roundup Issue Tracker: http://roundup-tracker.org/