aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-11 06:41:12 +0000
committerlpsolit%gmail.com <>2005-07-11 06:41:12 +0000
commit2e4739171044ed04d9d12c9e781ba72e195da153 (patch)
tree90f7ff18b74b484f6b669cce38151796e7341cbd /template/en/default
parent9a46dc023dc2123c305f2b7bc39ddc5efb7c9c6e (diff)
downloadbugs-2e4739171044ed04d9d12c9e781ba72e195da153.tar
bugs-2e4739171044ed04d9d12c9e781ba72e195da153.tar.gz
bugs-2e4739171044ed04d9d12c9e781ba72e195da153.tar.bz2
bugs-2e4739171044ed04d9d12c9e781ba72e195da153.tar.xz
bugs-2e4739171044ed04d9d12c9e781ba72e195da153.zip
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
Diffstat (limited to 'template/en/default')
-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"