summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-11 08:41:12 +0200
committerlpsolit%gmail.com <>2005-07-11 08:41:12 +0200
commit2e4739171044ed04d9d12c9e781ba72e195da153 (patch)
tree90f7ff18b74b484f6b669cce38151796e7341cbd
parent9a46dc023dc2123c305f2b7bc39ddc5efb7c9c6e (diff)
downloadbugzilla-2e4739171044ed04d9d12c9e781ba72e195da153.tar.gz
bugzilla-2e4739171044ed04d9d12c9e781ba72e195da153.tar.xz
Bug 297200: Linkify (add links) bug count to buglist on keyword edit pages (editkeywords.cgi) - Patch by Tobias Sager <moixa@gmx.ch> r=vladd a=justdave
-rwxr-xr-xtemplate/en/default/admin/keywords/edit.html.tmpl5
-rwxr-xr-xtemplate/en/default/admin/keywords/list.html.tmpl1
2 files changed, 4 insertions, 2 deletions
diff --git a/template/en/default/admin/keywords/edit.html.tmpl b/template/en/default/admin/keywords/edit.html.tmpl
index 0c24aeca9..3809563c2 100755
--- a/template/en/default/admin/keywords/edit.html.tmpl
+++ b/template/en/default/admin/keywords/edit.html.tmpl
@@ -49,8 +49,9 @@
<tr>
<th align="right">[% terms.Bugs %]:</th>
<td>
- [% IF bug_count %]
- [% bug_count %]
+ [% IF bug_count > 0 %]
+ <a href="buglist.cgi?keywords=[% name FILTER url_quote %]">
+ [% bug_count %]</a>
[% ELSE %]
none
[% END %]
diff --git a/template/en/default/admin/keywords/list.html.tmpl b/template/en/default/admin/keywords/list.html.tmpl
index 113b90433..84eb6e9f1 100755
--- a/template/en/default/admin/keywords/list.html.tmpl
+++ b/template/en/default/admin/keywords/list.html.tmpl
@@ -49,6 +49,7 @@
name => "bug_count"
heading => "Bugs"
align => "right"
+ contentlink => "buglist.cgi?keywords=%%name%%"
},
{
heading => "Action"