From: mkanat%bugzilla.org <> Date: Fri, 9 Oct 2009 04:39:17 +0000 (+0000) Subject: Bug 518974: Hooks to add text to index.cgi X-Git-Tag: bugzilla-3.4.3~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ad2eed4191de760d086996f69bda17e1dce681e;p=thirdparty%2Fbugzilla.git Bug 518974: Hooks to add text to index.cgi Patch by Max Kanat-Alexander r=dkl, a=mkanat --- diff --git a/skins/standard/index.css b/skins/standard/index.css index 09a81b5414..f61a5b08d9 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 82fbf9bd70..6231baa431 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 %]