aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorGuy Pyrzak <guy.pyrzak@gmail.com>2010-02-21 16:00:53 -0800
committerGuy Pyrzak <guy.pyrzak@gmail.com>2010-02-21 16:00:53 -0800
commit59ed17e8610c3d1b40e4f47a936a34e9c3f2cde8 (patch)
tree120239facf0172cb7ab89ef4bd39b9b17e4c8224 /template/en/default/bug
parentea17a5ebc0448e912fb59e03a6d3052a6159edfc (diff)
downloadbugs-59ed17e8610c3d1b40e4f47a936a34e9c3f2cde8.tar
bugs-59ed17e8610c3d1b40e4f47a936a34e9c3f2cde8.tar.gz
bugs-59ed17e8610c3d1b40e4f47a936a34e9c3f2cde8.tar.bz2
bugs-59ed17e8610c3d1b40e4f47a936a34e9c3f2cde8.tar.xz
bugs-59ed17e8610c3d1b40e4f47a936a34e9c3f2cde8.zip
Bug 490923: Autocomplete assignee, qa contact, and cc on the client side
r=LpSolit, a=mkanat
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/create/create.html.tmpl9
-rw-r--r--template/en/default/bug/field.html.tmpl3
-rw-r--r--template/en/default/bug/show-header.html.tmpl7
3 files changed, 12 insertions, 7 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index dce1da762..d82587672 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -30,9 +30,11 @@
[% PROCESS global/header.html.tmpl
title = title
- style_urls = [ 'skins/standard/create_attachment.css',
+ style_urls = [ 'skins/standard/yui/autocomplete.css',
+ 'skins/standard/create_attachment.css',
'skins/standard/yui/calendar.css' ]
- javascript_urls = [ "js/attachment.js", "js/util.js", "js/yui/calendar.js",
+ javascript_urls = [ "js/yui/bz_autocomplete_bundle.js",
+ "js/attachment.js", "js/util.js", "js/yui/calendar.js",
"js/field.js", "js/TUI.js" ]
onload = 'set_assign_to();'
%]
@@ -384,6 +386,7 @@ TUI_hide_default('expert_fields');
<th><a href="page.cgi?id=fields.html#assigned_to">Assign To</a>:</th>
<td colspan="2">
[% INCLUDE global/userselect.html.tmpl
+ id => "assigned_to"
name => "assigned_to"
value => assigned_to
disabled => assigned_to_disabled
@@ -400,6 +403,7 @@ TUI_hide_default('expert_fields');
<th>QA Contact:</th>
<td colspan="2">
[% INCLUDE global/userselect.html.tmpl
+ id => "qa_contact"
name => "qa_contact"
value => qa_contact
disabled => qa_contact_disabled
@@ -416,6 +420,7 @@ TUI_hide_default('expert_fields');
<th>CC:</th>
<td colspan="2">
[% INCLUDE global/userselect.html.tmpl
+ id => "cc"
name => "cc"
value => cc
disabled => cc_disabled
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl
index 482f88219..2f1ad35ca 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -87,8 +87,7 @@
<span>Calendar</span>
</button>
- <div id="con_calendar_[% field.name FILTER html %]"
- class="yui-skin-sam"></div>
+ <div id="con_calendar_[% field.name FILTER html %]"></div>
<script type="text/javascript">
createCalendar('[% field.name FILTER js %]')
diff --git a/template/en/default/bug/show-header.html.tmpl b/template/en/default/bug/show-header.html.tmpl
index 3f81e5738..c260f6902 100644
--- a/template/en/default/bug/show-header.html.tmpl
+++ b/template/en/default/bug/show-header.html.tmpl
@@ -34,11 +34,12 @@
[% title = "$terms.Bug $bug.bug_id &ndash; $filtered_desc" %]
[% header = "$terms.Bug&nbsp;$bug.bug_id" %]
[% header_addl_info = "Last modified: $filtered_timestamp" %]
-[% javascript_urls = [ "js/util.js", "js/field.js", "js/yui/calendar.js" ] %]
-[% style_urls = [ "skins/standard/yui/calendar.css",
+[% javascript_urls = [ "js/yui/bz_autocomplete_bundle.js",
+ "js/util.js", "js/field.js", "js/yui/calendar.js" ] %]
+[% style_urls = [ "skins/standard/yui/autocomplete.css",
+ "skins/standard/yui/calendar.css",
"skins/standard/show_bug.css" ] %]
[% doc_section = "bug_page.html" %]
-
[% bodyclasses = ['bz_bug',
"bz_status_$bug.bug_status",
"bz_product_$bug.product",