diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-07-10 04:14:03 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-07-10 04:14:03 +0200 |
commit | a7c773b9c0aabf6c473c944ec885ba4975e28b4c (patch) | |
tree | 404321f144761100636c0a9251d0caf3f9d549a6 /template/en | |
parent | 108565f882b5fea273687ca32767b7c4d3e28ee8 (diff) | |
download | bugzilla-a7c773b9c0aabf6c473c944ec885ba4975e28b4c.tar.gz bugzilla-a7c773b9c0aabf6c473c944ec885ba4975e28b4c.tar.xz |
Bug 771739 - Implement the component search facility from the bmo extension on the browse (describe components) page
r=glob
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/reports/components.html.tmpl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/template/en/default/reports/components.html.tmpl b/template/en/default/reports/components.html.tmpl index ef7d5ae6d..b2a21ccc1 100644 --- a/template/en/default/reports/components.html.tmpl +++ b/template/en/default/reports/components.html.tmpl @@ -22,6 +22,7 @@ [%# INTERFACE: # product: object. The product for which we want to display component # descriptions. + # component: string. The name of the component to hilight in the browser #%] [% title = BLOCK %] @@ -39,6 +40,8 @@ [% numcols = 2 %] [% END %] +<h2>[% mark FILTER html %]</h2> + <table cellpadding="0" cellspacing="0" id="components_header_table"> <tr> <td class="instructions"> @@ -81,9 +84,11 @@ [%############################################################################%] [% BLOCK describe_comp %] - <tr id="[% comp.name FILTER html %]"> + <tr id="[% comp.name FILTER html %]" + [%- IF comp.name == component_mark %] class="component_hilite"[% END %]> <td rowspan="2" class="component_name"> - <a href="buglist.cgi?product= + <a name="[% comp.name FILTER html %]" + href="buglist.cgi?product= [%- product.name FILTER uri %]&component= [%- comp.name FILTER uri %]&resolution=---"> [% comp.name FILTER html %]</a> @@ -97,7 +102,7 @@ </td> [% END %] </tr> - <tr> + <tr[% IF comp.name == component_mark %] class="component_hilite"[% END %]> <td colspan="[% numcols - 1 %]" class="component_description"> [% comp.description FILTER html_light %] </td> |