diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-04 22:17:00 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-04 22:17:00 +0100 |
commit | ce6f5b40e1f1d7180aaf6c91caacec68f10348f3 (patch) | |
tree | d1ca3e619f228bf83900ada43f15efbf1448aef6 /extensions/MyDashboard/template/en/default/pages | |
parent | 1ee605864f227d40cc83e798dc117ad8e01acb64 (diff) | |
download | bugzilla-ce6f5b40e1f1d7180aaf6c91caacec68f10348f3.tar.gz bugzilla-ce6f5b40e1f1d7180aaf6c91caacec68f10348f3.tar.xz |
Current dashboard work
Diffstat (limited to 'extensions/MyDashboard/template/en/default/pages')
-rw-r--r-- | extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl index b85ba3cc8..d7cdb0d28 100644 --- a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl +++ b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl @@ -10,8 +10,11 @@ [% PROCESS global/header.html.tmpl title = "My Dashboard" - style_urls = [ "extensions/MyDashboard/web/styles/mydashboard.css", - "extensions/MyDashboard/web/styles/prod_comp_search.css" ] + style_urls = [ "extensions/MyDashboard/web/styles/mydashboard.css" ] + javascript_urls = [ "js/yui3/yui/yui-min.js", + "extensions/MyDashboard/web/js/query.js", + "extensions/MyDashboard/web/js/flags.js", + "extensions/MyDashboard/web/js/prod_comp_search.js" ] %] [% standard_queries = [] %] @@ -21,10 +24,6 @@ [% saved_queries.push(q) IF q.saved %] [% END %] -<script src="http://yui.yahooapis.com/3.7.3/build/yui/yui-min.js"></script> -[%# These need to load after yui-min.js %] -<script type="text/javascript" src="[% 'extensions/MyDashboard/web/js/mydashboard.js' FILTER mtime FILTER html %]"></script> - <div id="mydashboard"> <div class="yui3-skin-sam"> <div id="left"> @@ -33,12 +32,12 @@ <select id="query" name="query"> <optgroup id="standard_queries" label="Standard"> [% FOREACH r = standard_queries %] - <option value="[% r.name FILTER html %]">[% r.heading FILTER html %]</option> + <option value="[% r.name FILTER html %]">[% r.heading || r.name FILTER html %]</option> [% END%] </optgroup> <optgroup id="saved_queries" label="Saved"> [% FOREACH r = saved_queries %] - <option value="[% r.name FILTER html %]">[% r.heading FILTER html %]</option> + <option value="[% r.name FILTER html %]">[% r.heading || r.name FILTER html %]</option> [% END %] </optgroup> </select> |