Commit 1ea1d48d authored by Tiago Mello's avatar Tiago Mello

Bug 741627: Add ability to toggle search description in bug lists like

'Show Advanced Fields' does in enter bug. r/a=LpSolit
parent e2951803
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
style = style style = style
atomlink = "buglist.cgi?$urlquerypart&title=$title&ctype=atom" atomlink = "buglist.cgi?$urlquerypart&title=$title&ctype=atom"
yui = [ 'autocomplete', 'calendar' ] 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" ] style_urls = [ "skins/standard/buglist.css" ]
doc_section = "query.html#list" doc_section = "query.html#list"
%] %]
...@@ -99,6 +99,15 @@ ...@@ -99,6 +99,15 @@
'changedfrom', 'changedto', 'changedby', 'notsubstring', 'nowords', 'changedfrom', 'changedto', 'changedby', 'notsubstring', 'nowords',
'nowordssubstr', 'notmatches', '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"> <ul class="search_description">
[% FOREACH desc_item = search_description %] [% FOREACH desc_item = search_description %]
<li> <li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment