From 30f871be3ba94d0f5819fa372fd80d47d01d7fad Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 9 Oct 2009 04:38:13 +0000 Subject: Bug 518974: Hooks to add text to index.cgi Patch by Max Kanat-Alexander r=dkl, a=mkanat --- skins/standard/index.css | 7 +++++++ template/en/default/index.html.tmpl | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/skins/standard/index.css b/skins/standard/index.css index 09a81b541..f61a5b08d 100644 --- a/skins/standard/index.css +++ b/skins/standard/index.css @@ -21,6 +21,13 @@ padding: 0.2em 0.2em 0.15em 0.2em; } + /* By default these contain nothing, but these CSS rules make things + easier on customizers. */ + .intro, .outro { + text-align: center; + width: 50em; + } + /* Hide from NN4 */ #new_release diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index 82fbf9bd7..6231baa43 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -123,11 +123,11 @@ YAHOO.util.Event.onDOMReady(onLoadActions); [% END %]
-

Welcome to [% terms.Bugzilla %]

+
[% Hook.process('intro') %]
File [% terms.aBug %] @@ -177,10 +177,10 @@ YAHOO.util.Event.onDOMReady(onLoadActions); +
[% Hook.process('outro') %]
-
[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b