]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 833752 - Bug id custom fields should be clickable in bug list
authorHugo Seabrook <hugo.seabrook@gmail.com>
Wed, 30 Jan 2013 17:48:15 +0000 (12:48 -0500)
committerDave Lawrence <dlawrence@mozilla.com>
Wed, 30 Jan 2013 17:48:15 +0000 (12:48 -0500)
r=dkl, a=LpSolit

template/en/default/list/table.html.tmpl

index 02fe8e72877699c86805fdbd6d450ba6238b6ae7..b686e792406f3801e6d95cd309ed409409008ee9 100644 (file)
         <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 %]