]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 518974: Hooks to add text to index.cgi
authormkanat%bugzilla.org <>
Fri, 9 Oct 2009 04:39:17 +0000 (04:39 +0000)
committermkanat%bugzilla.org <>
Fri, 9 Oct 2009 04:39:17 +0000 (04:39 +0000)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat

skins/standard/index.css
template/en/default/index.html.tmpl

index 09a81b541429468956ac8f5ca56557d02ac2367a..f61a5b08d9514f14ed1b876e9f28af53a59506d3 100644 (file)
         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
index 82fbf9bd707dd67be1b3eb4c13d9caa8d0853d42..6231baa431fa892dbcb776aa56d53891fdf5ce12 100644 (file)
@@ -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 %]