Ticket #1339 (closed defect: fixed)

Opened 5 years ago

Last modified 5 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 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

Changed 5 years ago by pjotr

  • owner changed from anonymous to gabor

Changed 5 years ago by tarmo

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

Changed 5 years ago by gabor

  • status changed from new to closed
  • tt_spent set to 1.0h
  • resolution set to fixed
  • tt_remaining set to 0h

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

Note: See TracTickets for help on using tickets.