Commit 30f871be authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 518974: Hooks to add text to index.cgi

Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
parent 8ecb3ad6
...@@ -21,6 +21,13 @@ ...@@ -21,6 +21,13 @@
padding: 0.2em 0.2em 0.15em 0.2em; 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 */ /* Hide from NN4 */
#new_release #new_release
......
...@@ -123,11 +123,11 @@ YAHOO.util.Event.onDOMReady(onLoadActions); ...@@ -123,11 +123,11 @@ YAHOO.util.Event.onDOMReady(onLoadActions);
[% END %] [% END %]
<div id="page-index"> <div id="page-index">
<div class="intro"></div>
<table> <table>
<tr> <tr>
<td> <td>
<h1 id="welcome"> Welcome to [% terms.Bugzilla %]</h1> <h1 id="welcome"> Welcome to [% terms.Bugzilla %]</h1>
<div class="intro">[% Hook.process('intro') %]</div>
<a id="enter_bug" class="bz_common_actions" <a id="enter_bug" class="bz_common_actions"
href="enter_bug.cgi"><span>File [% terms.aBug %]</span></a> href="enter_bug.cgi"><span>File [% terms.aBug %]</span></a>
...@@ -177,10 +177,10 @@ YAHOO.util.Event.onDOMReady(onLoadActions); ...@@ -177,10 +177,10 @@ YAHOO.util.Event.onDOMReady(onLoadActions);
</ul> </ul>
</div> </div>
</form> </form>
<div class="outro">[% Hook.process('outro') %]</div>
</td> </td>
</tr> </tr>
</table> </table>
<div class="outro"></div>
</div> </div>
[% PROCESS global/footer.html.tmpl %] [% PROCESS global/footer.html.tmpl %]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment