From 0e6c1ac3757b936949d6548e1f76f1d1edefbfad Mon Sep 17 00:00:00 2001
From: Michael Scherer <misc@zarb.org>
Date: Mon, 15 Oct 2012 13:46:08 +0200
Subject: [PATCH] refactor the footer into one single file

---
 scripts/review-stats/review-templates/bottom.html      | 17 +++++++++++++++++
 scripts/review-stats/review-templates/bymonth.html     | 16 +---------------
 scripts/review-stats/review-templates/index.html       | 17 +----------------
 scripts/review-stats/review-templates/needsponsor.html | 17 +----------------
 scripts/review-stats/review-templates/plain.html       | 17 +----------------
 5 files changed, 21 insertions(+), 63 deletions(-)
 create mode 100644 scripts/review-stats/review-templates/bottom.html

diff --git a/scripts/review-stats/review-templates/bottom.html b/scripts/review-stats/review-templates/bottom.html
new file mode 100644
index 0000000..4d62862
--- /dev/null
+++ b/scripts/review-stats/review-templates/bottom.html
@@ -0,0 +1,17 @@
+    <div id="bottom">
+      <div id="footer">
+        <p class="copy">
+        &copy; 2012 Red Hat, Inc. and others.
+        Currently maintained by Jason Tibbitts; please send comments or questions to him or file tickets on <a href="https://fedorahosted.org/fedora-infrastructure/">the infrastructure trac</a>.
+        </p>
+        <p class="disclaimer">
+        The Fedora Project is maintained and driven by the community and sponsored by Red Hat.  This is a community maintained site.  Red Hat is not responsible for content.
+        </p>
+
+        <ul>
+          <li class="first"><a href="http://fedoraproject.org/wiki/Legal:Main">Legal</a></li>
+          <li><a href="http://fedoraproject.org/wiki/Legal:Trademark_guidelines">Trademark Guidelines</a></li>
+        </ul>
+      </div>
+    </div>
+
diff --git a/scripts/review-stats/review-templates/bymonth.html b/scripts/review-stats/review-templates/bymonth.html
index a3e704d..f30bf27 100644
--- a/scripts/review-stats/review-templates/bymonth.html
+++ b/scripts/review-stats/review-templates/bymonth.html
@@ -67,21 +67,7 @@ There are $count tickets in this category</h2>
 </table>
     </div>
   </div>
-  <div id="bottom">
-    <div id="footer">
-      <p class="copy">
-      &copy; 2012 Red Hat, Inc. and others.
-      Currently maintained by Jason Tibbitts; please send comments or questions to him or file tickets on <a href="https://fedorahosted.org/fedora-infrastructure/">the infrastructure trac</a>.
-      </p>
-      <p class="disclaimer">
-      The Fedora Project is maintained and driven by the community and sponsored by Red Hat.  This is a community maintained site.  Red Hat is not responsible for content.
-      </p>
+  <xi:include href="bottom.html" />
 
-      <ul>
-        <li class="first"><a href="http://fedoraproject.org/wiki/Legal:Main">Legal</a></li>
-        <li><a href="http://fedoraproject.org/wiki/Legal:Trademark_guidelines">Trademark Guidelines</a></li>
-      </ul>
-    </div>
-  </div>
 </body>
 </html>
diff --git a/scripts/review-stats/review-templates/index.html b/scripts/review-stats/review-templates/index.html
index 06577e6..84115f7 100644
--- a/scripts/review-stats/review-templates/index.html
+++ b/scripts/review-stats/review-templates/index.html
@@ -113,21 +113,6 @@ Last updated: ${update}, query time: ${'{0:0.3f}'.format(querytime)}s, output ti
     </form>
   </div>
 </div>
-    <div id="bottom">
-      <div id="footer">
-        <p class="copy">
-        &copy; 2012 Red Hat, Inc. and others.
-        Currently maintained by Jason Tibbitts; please send comments or questions to him or file tickets on <a href="https://fedorahosted.org/fedora-infrastructure/">the infrastructure trac</a>.
-        </p>
-        <p class="disclaimer">
-        The Fedora Project is maintained and driven by the community and sponsored by Red Hat.  This is a community maintained site.  Red Hat is not responsible for content.
-        </p>
-
-        <ul>
-          <li class="first"><a href="http://fedoraproject.org/wiki/Legal:Main">Legal</a></li>
-          <li><a href="http://fedoraproject.org/wiki/Legal:Trademark_guidelines">Trademark Guidelines</a></li>
-        </ul>
-      </div>
-    </div>
+  <xi:include href="bottom.html" />
   </body>
 </html>
diff --git a/scripts/review-stats/review-templates/needsponsor.html b/scripts/review-stats/review-templates/needsponsor.html
index 9907f19..25a5e2a 100644
--- a/scripts/review-stats/review-templates/needsponsor.html
+++ b/scripts/review-stats/review-templates/needsponsor.html
@@ -71,21 +71,6 @@ There are $count tickets in this category<br/>
 </table>
     </div>
   </div>
-  <div id="bottom">
-    <div id="footer">
-      <p class="copy">
-      &copy; 2012 Red Hat, Inc. and others.
-      Currently maintained by Jason Tibbitts; please send comments or questions to him or file tickets on <a href="https://fedorahosted.org/fedora-infrastructure/">the infrastructure trac</a>.
-      </p>
-      <p class="disclaimer">
-      The Fedora Project is maintained and driven by the community and sponsored by Red Hat.  This is a community maintained site.  Red Hat is not responsible for content.
-      </p>
-
-      <ul>
-        <li class="first"><a href="http://fedoraproject.org/wiki/Legal:Main">Legal</a></li>
-        <li><a href="http://fedoraproject.org/wiki/Legal:Trademark_guidelines">Trademark Guidelines</a></li>
-      </ul>
-    </div>
-  </div>
+  <xi:include href="bottom.html" />
 </body>
 </html>
diff --git a/scripts/review-stats/review-templates/plain.html b/scripts/review-stats/review-templates/plain.html
index 387d3b1..75d6676 100644
--- a/scripts/review-stats/review-templates/plain.html
+++ b/scripts/review-stats/review-templates/plain.html
@@ -67,21 +67,6 @@ There are $count tickets in this category.</h2>
 </table>
     </div>
   </div>
-  <div id="bottom">
-    <div id="footer">
-      <p class="copy">
-      &copy; 2012 Red Hat, Inc. and others.
-      Currently maintained by Jason Tibbitts; please send comments or questions to him or file tickets on <a href="https://fedorahosted.org/fedora-infrastructure/">the infrastructure trac</a>.
-      </p>
-      <p class="disclaimer">
-      The Fedora Project is maintained and driven by the community and sponsored by Red Hat.  This is a community maintained site.  Red Hat is not responsible for content.
-      </p>
-
-      <ul>
-        <li class="first"><a href="http://fedoraproject.org/wiki/Legal:Main">Legal</a></li>
-        <li><a href="http://fedoraproject.org/wiki/Legal:Trademark_guidelines">Trademark Guidelines</a></li>
-      </ul>
-    </div>
-  </div>
+  <xi:include href="bottom.html" />
 </body>
 </html>
-- 
1.8.2.1

