]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 374850: Add a link that encourages administrators to contribute to Bugzilla
authormkanat%bugzilla.org <>
Fri, 23 Mar 2007 02:02:53 +0000 (02:02 +0000)
committermkanat%bugzilla.org <>
Fri, 23 Mar 2007 02:02:53 +0000 (02:02 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=mkanat

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

index 918f775e473473894f6a27d2c3a20026dae273dc..36b90f01fada663f968f75333982946a4deb87df 100644 (file)
         width: 250px;
         height: 200px;
 
-        margin-top: 2.3em;
         margin-right: 2.3em;
         float: right;
-
         background: transparent no-repeat url(index/front.png);
     }
+    div.contribute {
+        position: relative;
+        top: 200px;
+        margin: .5em;
+        padding: .5em;
+        border: 1px dotted black;
+        font-size: small;
+    }
 
     #page-index #report
     {
index a96f2b15eb9fc7028c2d32578f0925805860d487..9205fba17c80c342188fbe918a35e9ad742463bf 100644 (file)
@@ -93,7 +93,17 @@ function addSidebar() {
 [% END %]
 
 <div id="page-index">
-  <div class="intro"></div>
+  <div class="intro">
+  [% IF user.in_group('admin') %]
+    <div class="contribute"><strong>Administrator:</strong>
+      [%+ terms.Bugzilla %] is developed entirely by
+      volunteers. The best way to give back to the [% terms.Bugzilla %] project
+      is to <a href="http://www.bugzilla.org/contribute/">contribute</a>
+      yourself! You don't have to be a programmer to contribute, there are
+      lots of things that we need.
+    </div>
+  [% END %]
+  </div>
 
   <p>Welcome to [% terms.Bugzilla %]. To see what's new in this version
     of [% terms.Bugzilla %], see the