Ticket #1339 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

here/absolute_url should be replaced with here_url

Reported by: jukka Owned by: gabor
Priority: minor Milestone:
Component: generic Version:
Keywords: Cc:
Time planned: Time remaining: 0h
Time spent: 1.0h


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

comment:1 Changed 12 years ago by pjotr

  • Owner changed from anonymous to gabor

comment:2 Changed 12 years ago by tarmo

(In [1682]) Reversed [1681], refs #1339.

comment:3 Changed 12 years ago by gabor

  • Status changed from new to closed
  • Time spent set to 1.0h
  • Resolution set to fixed
  • Time remaining set to 0h

(In [1685]) fixed #1339 spent 1h

Note: See TracTickets for help on using tickets.