summaryrefslogtreecommitdiffstats
path: root/template/en/default/whine
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-04-19 17:05:20 +0200
committerlpsolit%gmail.com <>2007-04-19 17:05:20 +0200
commit40e63525a8bda9132a4d2c0d296b2b7e89fe75de (patch)
treec55b68fd0ed29b7752d0956c7cab85d8004882e6 /template/en/default/whine
parent29ab35c232fdff053f78b18598bfbe6a13f29826 (diff)
downloadbugzilla-40e63525a8bda9132a4d2c0d296b2b7e89fe75de.tar.gz
bugzilla-40e63525a8bda9132a4d2c0d296b2b7e89fe75de.tar.xz
Bug 369933: Use Bugzilla::Util::correct_urlbase() everywhere in templates to get the correct URL to the Bugzilla installation - Patch by Alex Eiser <aeiser@arc.nasa.gov> r/a=LpSolit
Diffstat (limited to 'template/en/default/whine')
-rw-r--r--template/en/default/whine/mail.html.tmpl4
-rw-r--r--template/en/default/whine/mail.txt.tmpl4
2 files changed, 4 insertions, 4 deletions
diff --git a/template/en/default/whine/mail.html.tmpl b/template/en/default/whine/mail.html.tmpl
index 0d7f91911..a3953afeb 100644
--- a/template/en/default/whine/mail.html.tmpl
+++ b/template/en/default/whine/mail.html.tmpl
@@ -51,7 +51,7 @@
<p align="left">
[% IF author.login == recipient.login %]
- <a href="[%+ Param('urlbase') FILTER html %]editwhines.cgi">Click
+ <a href="[%+ urlbase FILTER html %]editwhines.cgi">Click
here to edit your whine schedule</a>
[% ELSE %]
This search was scheduled by [% author.login FILTER html %].
@@ -77,7 +77,7 @@
[% FOREACH bug=query.bugs %]
<tr>
- <td align="left"><a href="[%+ Param('urlbase') FILTER html %]show_bug.cgi?id=
+ <td align="left"><a href="[%+ urlbase FILTER html %]show_bug.cgi?id=
[%- bug.bug_id %]">[% bug.bug_id %]</a></td>
<td align="left">[% bug.bug_severity FILTER html %]</td>
<td align="left">[% bug.priority FILTER html %]</td>
diff --git a/template/en/default/whine/mail.txt.tmpl b/template/en/default/whine/mail.txt.tmpl
index 02078b7bd..351452114 100644
--- a/template/en/default/whine/mail.txt.tmpl
+++ b/template/en/default/whine/mail.txt.tmpl
@@ -40,7 +40,7 @@
[% IF author.login == recipient.login %]
To edit your whine schedule, visit the following URL:
- [%+ Param('urlbase') %]editwhines.cgi
+ [%+ urlbase %]editwhines.cgi
[% ELSE %]
This search was scheduled by [% author.login %].
[% END %]
@@ -53,7 +53,7 @@
[% FOREACH bug=query.bugs %]
[% terms.Bug +%] [%+ bug.bug_id %]:
- [%+ Param('urlbase') %]show_bug.cgi?id=[% bug.bug_id +%]
+ [%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%]
Priority: [%+ bug.priority -%]
Severity: [%+ bug.bug_severity -%]
Platform: [%+ bug.rep_platform %]