summaryrefslogtreecommitdiffstats
path: root/template/en/default/search/type-select.html.tmpl
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-12-06 20:44:42 +0100
committermkanat%bugzilla.org <>2008-12-06 20:44:42 +0100
commitcce0280bc6d98dbe6ba73e59b092e469f3435dd0 (patch)
treebf9b3549632f768b714370c5f8a16af59972eb47 /template/en/default/search/type-select.html.tmpl
parent33429813a654f7a93a7be40b35e9fb7629d74dab (diff)
downloadbugzilla-cce0280bc6d98dbe6ba73e59b092e469f3435dd0.tar.gz
bugzilla-cce0280bc6d98dbe6ba73e59b092e469f3435dd0.tar.xz
Bug 463002 - Show a description of what you searched for, at the top of buglist.cgi
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat
Diffstat (limited to 'template/en/default/search/type-select.html.tmpl')
-rw-r--r--template/en/default/search/type-select.html.tmpl29
1 files changed, 29 insertions, 0 deletions
diff --git a/template/en/default/search/type-select.html.tmpl b/template/en/default/search/type-select.html.tmpl
new file mode 100644
index 000000000..e74cc3cd3
--- /dev/null
+++ b/template/en/default/search/type-select.html.tmpl
@@ -0,0 +1,29 @@
+[%# The contents of this file are subject to the Mozilla Public
+ # License Version 1.1 (the "License"); you may not use this file
+ # except in compliance with the License. You may obtain a copy of
+ # the License at http://www.mozilla.org/MPL/
+ #
+ # Software distributed under the License is distributed on an "AS
+ # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ # implied. See the License for the specific language governing
+ # rights and limitations under the License.
+ #
+ # The Original Code is the Bugzilla Bug Tracking System.
+ #
+ # The Initial Developer of the Original Code is the San Jose State
+ # University Foundation. Portions created by the Initial Developer are
+ # Copyright (C) 2008 the Initial Developer. All Rights Reserved.
+ #
+ # Contributor(s):
+ # Max Kanat-Alexander <mkanat@bugzilla.org>
+ #%]
+
+[% PROCESS "global/field-descs.none.tmpl" %]
+
+<select name="[% name FILTER html %]">
+ [% FOREACH type = types %]
+ <option value="[% type FILTER html %]"
+ [%- ' selected="selected"' IF type == selected %]>
+ [%- search_descs.$type %]</option>
+ [% END %]
+</select>