summaryrefslogtreecommitdiffstats
path: root/template/en/default/list
diff options
context:
space:
mode:
authorHugo Seabrook <hugo.seabrook@gmail.com>2013-01-30 19:06:35 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-01-30 19:06:35 +0100
commit32add3f7b6cdfa932ce07b99c13c140df10bf537 (patch)
tree0a84e6a6189547deae7e4d18ea8843f821ff330c /template/en/default/list
parenta55cd241c42675bec38aebee0d732429735ad6f9 (diff)
downloadbugzilla-32add3f7b6cdfa932ce07b99c13c140df10bf537.tar.gz
bugzilla-32add3f7b6cdfa932ce07b99c13c140df10bf537.tar.xz
Bug 833752 - Bug id custom fields should be clickable in bug list
Diffstat (limited to 'template/en/default/list')
-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 b4c36f575..c82054013 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -231,6 +231,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 %]