Ticket #1339 (closed defect: fixed)
here/absolute_url should be replaced with here_url
| Reported by: | jukka | Owned by: | gabor |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | generic | Version: | |
| Keywords: | Cc: | ||
| Time spent: | 1.0h | Time remaining: | 0h |
| Time planned: |
Description
We have lots of page templates where construct here/absolute_url is used to get the url of page. Or, python:here.absolute_url() . These should all be replaced with here_url, which is variable set in master page template that stores here/absolute_url so we don't have to run a method every time.
I've already done this to all context/absolute_url:s and context.absolute_url():s but grepping revealed that we have dozens of here/absolute_url:s as well.
Notice that this replacement should be done only in page templates (.pt and .cpt)
Change History
Note: See
TracTickets for help on using
tickets.
