summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorHugo Seabrook <hugo.seabrook@gmail.com>2013-01-30 18:48:15 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-01-30 18:48:15 +0100
commit79ad758038193113a6bddfe2025bb2b916842684 (patch)
treebc6e922580d9bdefad56eec70dd7c156a9f211a7 /template
parent8231cd046c4fff001e2861ca2ffde14c7f05380b (diff)
downloadbugzilla-79ad758038193113a6bddfe2025bb2b916842684.tar.gz
bugzilla-79ad758038193113a6bddfe2025bb2b916842684.tar.xz
Bug 833752 - Bug id custom fields should be clickable in bug list
r=dkl, a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/list/table.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 02fe8e728..b686e7924 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -200,6 +200,10 @@
<a href="show_bug.cgi?id=[% bug.bug_id FILTER html %]">
[%- bug.$column.truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%]
</a>
+ [% ELSIF bug_fields.$column.type == constants.FIELD_TYPE_BUG_ID %]
+ <a href="show_bug.cgi?id=[% bug.$column FILTER html %]">
+ [%- bug.$column.truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%]
+ </a>
[% ELSE %]
[%- display_value(column, bug.$column).truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%]
[% END %]