summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-11-19 18:05:54 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-11-19 18:05:54 +0100
commit0be9c486f685c2c0061541dec52a8a68e505a04b (patch)
tree8ba4880fb16eece90dcc1267038e71760c6e18ae /template
parentb0e18c6d38c6e6779ed461391d33f95ec4118ca6 (diff)
downloadbugzilla-0be9c486f685c2c0061541dec52a8a68e505a04b.tar.gz
bugzilla-0be9c486f685c2c0061541dec52a8a68e505a04b.tar.xz
Bug 812220: bug_link() is called twice per bug in bug/process/results.html.tmpl
r=glob a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/process/results.html.tmpl9
-rw-r--r--template/en/default/filterexceptions.pl4
2 files changed, 5 insertions, 8 deletions
diff --git a/template/en/default/bug/process/results.html.tmpl b/template/en/default/bug/process/results.html.tmpl
index cdebfed5e..1d2f99a42 100644
--- a/template/en/default/bug/process/results.html.tmpl
+++ b/template/en/default/bug/process/results.html.tmpl
@@ -20,23 +20,22 @@
[% DEFAULT type="bug" %]
-[% Link = BLOCK %][% "$terms.Bug $id" FILTER bug_link(id) %][% END %]
-[% link = BLOCK %][% "$terms.bug $id" FILTER bug_link(id) %][% END %]
+[% link = BLOCK %][% terms.bug %] [%+ id FILTER bug_link(id) FILTER none %][% END %]
[%
title = {
'bug' => "Changes submitted for $link" ,
'dupe' => "Duplicate notation added to $link" ,
'dep' => "Checking for dependency changes on $link" ,
- 'created' => "$Link has been added to the database" ,
- 'move' => "$Link has been moved to another database" ,
+ 'created' => "$link has been added to the database" ,
+ 'move' => "$link has been moved to another database" ,
}
%]
[% Hook.process('title') %]
<dl>
- <dt>[% title.$type %]</dt>
+ <dt>[% title.$type.ucfirst %]</dt>
<dd>
[% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = id %]
[%# Links to more information about the changed bug. %]
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index 44ae2b5da..e12fcb189 100644
--- a/template/en/default/filterexceptions.pl
+++ b/template/en/default/filterexceptions.pl
@@ -267,9 +267,7 @@
],
'bug/process/results.html.tmpl' => [
- 'title.$type',
- '"$terms.Bug $id" FILTER bug_link(id)',
- '"$terms.bug $id" FILTER bug_link(id)',
+ 'title.$type.ucfirst',
],
'bug/create/create.html.tmpl' => [