From d8f23ea46b2244fb5c2ae610637deed14db13704 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 12 Feb 2009 00:46:34 +0000 Subject: Bug 475063: Make the logged-out index.cgi simpler Patch By Guy Pyrzak r=mkanat, a=mkanat --- template/en/default/attachment/create.html.tmpl | 2 +- template/en/default/attachment/created.html.tmpl | 3 +- template/en/default/attachment/edit.html.tmpl | 1 - template/en/default/attachment/updated.html.tmpl | 3 +- template/en/default/bug/create/create.html.tmpl | 3 +- template/en/default/bug/create/created.html.tmpl | 3 +- template/en/default/bug/process/header.html.tmpl | 3 +- template/en/default/bug/show.html.tmpl | 3 +- template/en/default/global/header.html.tmpl | 14 +- template/en/default/index.html.tmpl | 168 ++++++++++++++--------- template/en/default/list/list.html.tmpl | 3 +- 11 files changed, 119 insertions(+), 87 deletions(-) (limited to 'template/en') diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index 3c099bee7..10648159b 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -35,7 +35,7 @@ subheader = subheader onload="setContentTypeDisabledState(document.entryform);" style_urls = [ 'skins/standard/create_attachment.css' ] - javascript_urls = [ "js/yui/yahoo-dom-event.js", "js/attachment.js" ] + javascript_urls = [ "js/attachment.js" ] doc_section = "attachments.html" %] diff --git a/template/en/default/attachment/created.html.tmpl b/template/en/default/attachment/created.html.tmpl index faf1b87c0..22d5c1220 100644 --- a/template/en/default/attachment/created.html.tmpl +++ b/template/en/default/attachment/created.html.tmpl @@ -39,8 +39,7 @@ [% PROCESS global/header.html.tmpl title = "Attachment $attachment.id added to $terms.Bug $attachment.bug_id" bodyclasses = bodyclasses - javascript_urls = [ "js/util.js", "js/field.js", - "js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ] + javascript_urls = [ "js/util.js", "js/field.js", "js/yui/calendar.js" ] style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ] doc_section = "bug_page.html" %] diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 10c615323..f461e9e91 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -35,7 +35,6 @@ title = title header = header subheader = subheader - javascript_urls = [ "js/yui/yahoo-dom-event.js" ] doc_section = "attachments.html" %] diff --git a/template/en/default/attachment/updated.html.tmpl b/template/en/default/attachment/updated.html.tmpl index bc22b4666..e0a92bc8a 100644 --- a/template/en/default/attachment/updated.html.tmpl +++ b/template/en/default/attachment/updated.html.tmpl @@ -43,8 +43,7 @@ subheader = filtered_desc header_addl_info = "Last modified: $filtered_timestamp" bodyclasses = bodyclasses - javascript_urls = [ "js/util.js", "js/field.js", - "js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ] + javascript_urls = [ "js/util.js", "js/field.js", "js/yui/calendar.js" ] style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ] doc_section = "bug_page.html" %] diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 7b6180781..2cee5c91d 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -32,8 +32,7 @@ title = title style_urls = [ 'skins/standard/create_attachment.css', 'skins/standard/yui/calendar.css' ] - javascript_urls = [ "js/attachment.js", "js/util.js", - "js/yui/yahoo-dom-event.js", "js/yui/calendar.js", + javascript_urls = [ "js/attachment.js", "js/util.js", "js/yui/calendar.js", "js/field.js", "js/yui/cookie.js", "js/TUI.js" ] %] diff --git a/template/en/default/bug/create/created.html.tmpl b/template/en/default/bug/create/created.html.tmpl index 7ec59b126..0a03a4d71 100644 --- a/template/en/default/bug/create/created.html.tmpl +++ b/template/en/default/bug/create/created.html.tmpl @@ -39,8 +39,7 @@ title = "$terms.Bug $id Submitted – $filtered_desc" header = "$terms.Bug $id Submitted" subheader = filtered_desc - javascript_urls = [ "js/util.js", "js/field.js", - "js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ] + javascript_urls = [ "js/util.js", "js/field.js", "js/yui/calendar.js" ] style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ] diff --git a/template/en/default/bug/process/header.html.tmpl b/template/en/default/bug/process/header.html.tmpl index 4aecfc1b8..3ca8e10e8 100644 --- a/template/en/default/bug/process/header.html.tmpl +++ b/template/en/default/bug/process/header.html.tmpl @@ -42,8 +42,7 @@ [% END %] [% PROCESS global/header.html.tmpl - javascript_urls = [ "js/util.js", "js/field.js", - "js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ] + javascript_urls = [ "js/util.js", "js/field.js", "js/yui/calendar.js" ] style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ] doc_section = "bug_page.html" %] diff --git a/template/en/default/bug/show.html.tmpl b/template/en/default/bug/show.html.tmpl index cf6127413..b92acb134 100644 --- a/template/en/default/bug/show.html.tmpl +++ b/template/en/default/bug/show.html.tmpl @@ -44,8 +44,7 @@ subheader = filtered_desc header_addl_info = "Last modified: $filtered_timestamp" bodyclasses = bodyclasses - javascript_urls = [ "js/util.js", "js/field.js", - "js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ] + javascript_urls = [ "js/util.js", "js/field.js", "js/yui/calendar.js" ] style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ] doc_section = "bug_page.html" %] diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 82a75e6a3..b687da6af 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -188,8 +188,14 @@ type="text/css"> + @@ -101,57 +124,76 @@ function addSidebar() {
- -

Welcome to [% terms.Bugzilla %]. To see what's new in this version - of [% terms.Bugzilla %], see the - release notes! - You may also want to read the - - [%- terms.Bugzilla %] User's Guide to find out more about - [%+ terms.Bugzilla %] and how to use it.

- -

Most common actions:

- - [% PROCESS "account/auth/login-small.html.tmpl" %] - - -
-
-

Enter [% terms.abug %] # or some search terms:

- - - [Help] -
-
- + + + + +
+

Welcome to [% terms.Bugzilla %]

+ +
+ File a Bug +
+
+ + +
+ Search +
+
+ + +
+ + [% IF user.id %] + User Preferences + [% ELSIF Param('createemailregexp') && user.authorizer.user_can_create_account %] + Open a new Account + [% ELSE %] + Log In + [% END%] +
+
+
+ + +
+
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index a75f1340c..e0676b2b7 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -46,8 +46,7 @@ title = title style = style atomlink = "buglist.cgi?$urlquerypart&title=$title&ctype=atom" - javascript_urls = [ "js/util.js", "js/field.js", - "js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ] + javascript_urls = [ "js/util.js", "js/field.js", "js/yui/calendar.js" ] style_urls = [ "skins/standard/buglist.css", "skins/standard/yui/calendar.css" ] doc_section = "query.html#list" %] -- cgit v1.2.3-24-g4f1b