aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default')
-rw-r--r--templates/web/default/index.html2
-rw-r--r--templates/web/default/tokens/confirm_problem.html2
-rw-r--r--templates/web/default/tokens/error.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/web/default/index.html b/templates/web/default/index.html
index 1e64779e9..fa1974730 100644
--- a/templates/web/default/index.html
+++ b/templates/web/default/index.html
@@ -43,7 +43,7 @@
|| loc("Enter a nearby GB postcode, or street name and area");
%]
-<form action="[% c.cobrand.url('/around') %]" method="get" name="postcodeForm" id="postcodeForm">
+<form action="[% c.uri_for('/around') %]" method="get" name="postcodeForm" id="postcodeForm">
<label for="pc">[% question %]:</label>
&nbsp;<input type="text" name="pc" value="" id="pc" size="10" maxlength="200">
&nbsp;<input type="submit" value="[% loc('Go') %]" id="submit">
diff --git a/templates/web/default/tokens/confirm_problem.html b/templates/web/default/tokens/confirm_problem.html
index aeff2cc9c..cc3fb6400 100644
--- a/templates/web/default/tokens/confirm_problem.html
+++ b/templates/web/default/tokens/confirm_problem.html
@@ -12,7 +12,7 @@
tprintf(
loc( '. You can <a href="%s">view the problem on this site</a>.' ),
- c.cobrand.url( '/report/' _ problem.id )
+ c.uri_for( '/report', problem.id )
);
%]
</p>
diff --git a/templates/web/default/tokens/error.html b/templates/web/default/tokens/error.html
index 76e22c119..e3fa6c170 100644
--- a/templates/web/default/tokens/error.html
+++ b/templates/web/default/tokens/error.html
@@ -2,7 +2,7 @@
<h1>[% loc('Error') %]</h1>
-[% contact_url = c.cobrand.url('/contact'); %]
+[% contact_url = c.uri_for('/contact'); %]
<p>[% tprintf( loc('Thank you for trying to confirm your update or problem. We seem to have an error ourselves though, so <a href="%s">please let us know what went on</a> and we\'ll look into it.'), contact_url ) %]</p>