summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-10-09 06:38:13 +0200
committermkanat%bugzilla.org <>2009-10-09 06:38:13 +0200
commit30f871be3ba94d0f5819fa372fd80d47d01d7fad (patch)
tree9fd957d95c2d164a186809f9fa6d3c8f6f14ea52
parent8ecb3ad6ecc8d636fb205895d736108cbc8083a1 (diff)
downloadbugzilla-30f871be3ba94d0f5819fa372fd80d47d01d7fad.tar.gz
bugzilla-30f871be3ba94d0f5819fa372fd80d47d01d7fad.tar.xz
Bug 518974: Hooks to add text to index.cgi
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
-rw-r--r--skins/standard/index.css7
-rw-r--r--template/en/default/index.html.tmpl4
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 %]
<div id="page-index">
- <div class="intro"></div>
<table>
<tr>
<td>
<h1 id="welcome"> Welcome to [% terms.Bugzilla %]</h1>
+ <div class="intro">[% Hook.process('intro') %]</div>
<a id="enter_bug" class="bz_common_actions"
href="enter_bug.cgi"><span>File [% terms.aBug %]</span></a>
@@ -177,10 +177,10 @@ YAHOO.util.Event.onDOMReady(onLoadActions);
</ul>
</div>
</form>
+ <div class="outro">[% Hook.process('outro') %]</div>
</td>
</tr>
</table>
- <div class="outro"></div>
</div>
[% PROCESS global/footer.html.tmpl %]