Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 4817131468226560: Added site_url template variable in order to help generating pages that require a full absolute URL (Closed)

Created:
Feb. 4, 2014, 11:32 a.m. by Sebastian Noack
Modified:
Feb. 7, 2014, 4:13 p.m.
Reviewers:
Felix Dahlke
Visibility:
Public.

Description

This is needed in order to add javascript license information, via Web Labels: http://codereview.adblockplus.org/6272077409550336/ http://codereview.adblockplus.org/5748228838391808/ JavaScript Web Labels must list all external scripts used on the website, with their absolute URL (including domain). And hard-coding the base URL in the template would be a bad idea, because of the URL would be wrong when running the website locally. And so you can't test.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M sitescripts/cms/bin/test_server.py View 1 chunk +1 line, -1 line 0 comments Download
M sitescripts/cms/utils.py View 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 2
Sebastian Noack
Feb. 4, 2014, 11:41 a.m. (2014-02-04 11:41:10 UTC) #1
Felix Dahlke
Feb. 7, 2014, 4:06 p.m. (2014-02-07 16:06:34 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld