Opened on 08/20/2015 at 03:31:34 PM
Closed on 08/24/2015 at 10:46:15 AM
#2935 closed change (fixed)
[cms] Give get_string global template function sensible default for page paramter
Reported by: | kzar | Assignee: | kzar |
---|---|---|---|
Priority: | Unknown | Milestone: | |
Module: | Sitescripts | Keywords: | cms |
Cc: | saroyanm, trev | Blocked By: | |
Blocking: | Platform: | Unknown / Cross platform | |
Ready: | no | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description
Background
In our CMS there is a get_string global template function defined that can be used from Jinja2 templates. It takes two arguments, a string name and a page name. Currently neither have default values.
What to change
It is quite comment to want to obtain strings for the current page. Therefore the page name parameter for the get_string global template function should have a default value of the current page.
Attachments (0)
Change History (2)
Note: See
TracTickets for help on using
tickets.
https://hg.adblockplus.org/cms/rev/b03a74b3276e