diff options
author | Tiago Mello <timello@gmail.com> | 2012-04-13 02:18:15 +0200 |
---|---|---|
committer | Tiago Mello <timello@gmail.com> | 2012-04-13 02:18:15 +0200 |
commit | 1ea1d48d86403d1d7a5113f5c303988c8f4ed74d (patch) | |
tree | 39afbf1d1d4ebaa00e6305f2c4edef70c2797eb4 /template/en | |
parent | e2951803c48a1871d6c99a1b1be3c29f440c2faa (diff) | |
download | bugzilla-1ea1d48d86403d1d7a5113f5c303988c8f4ed74d.tar.gz bugzilla-1ea1d48d86403d1d7a5113f5c303988c8f4ed74d.tar.xz |
Bug 741627: Add ability to toggle search description in bug lists like
'Show Advanced Fields' does in enter bug.
r/a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/list/list.html.tmpl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 6c600c6fa..1dfdf51c2 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -57,7 +57,7 @@ style = style atomlink = "buglist.cgi?$urlquerypart&title=$title&ctype=atom" yui = [ 'autocomplete', 'calendar' ] - javascript_urls = [ "js/util.js", "js/field.js" ] + javascript_urls = [ "js/util.js", "js/field.js", "js/TUI.js" ] style_urls = [ "skins/standard/buglist.css" ] doc_section = "query.html#list" %] @@ -99,6 +99,15 @@ 'changedfrom', 'changedto', 'changedby', 'notsubstring', 'nowords', 'nowordssubstr', 'notmatches', ] %] +<a id="search_description_controller" class="bz_default_hidden" + href="javascript:TUI_toggle_class('search_description')">Hide Search Description</a> +[%# Show the link if the browser supports JS %] +<script type="text/javascript"> + TUI_alternates['search_description'] = 'Show Search Description'; + YAHOO.util.Dom.removeClass('search_description_controller', + 'bz_default_hidden'); +</script> + <ul class="search_description"> [% FOREACH desc_item = search_description %] <li> |