Don't include the sponsoring part on the sponsoring site
authorAlexander Wirt <formorer@debian.org>
Mon, 9 Jan 2012 19:58:30 +0000 (20:58 +0100)
committerAlexander Wirt <formorer@debian.org>
Mon, 9 Jan 2012 19:58:30 +0000 (20:58 +0100)
sponsors/index.html.tt2
static_bottom.inc

index 559388c..42d2532 100644 (file)
@@ -61,4 +61,6 @@
     </div>
     </div>
 
-[% INCLUDE static_bottom.inc %]
+    [% INCLUDE static_bottom.inc 
+        sponsoring = '1'
+    %]
index f36ce01..011dce1 100644 (file)
@@ -1,4 +1,5 @@
-      <div class="sponsors">
+[% IF ! sponsors %]
+<div class="sponsors">
       <h3>Sponsors</h3>
       <p>
         Grml is sponsored by several companies. For more information about our sponors check out the <a href="/sponsors/">Sponsors webpage</a>. Our main sponsor is:
@@ -9,7 +10,7 @@
         </a>
       </div>
       </div>
-
+[% END %]
 <!-- Piwik -->
 <script type="text/javascript">
 var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.grml.org/piwik/" : "http://stats.grml.org/piwik/");