[silvatheme.renaissance][Emiliano D'Alterio] Changed sidebar tem...

[email protected] Wed, 23 Oct 2013 12:23:34 +0200
Newsgroups gmane.comp.web.zope.silva.cvs
Message-ID <[email protected]>
author:    Emiliano D'Alterio
date:      Wed Oct 23 12:23:28 2013 +0200
revision:  371:fff9fd2b96e7 in silvatheme.renaissance
branch:    2.4
details:   https://hg.infrae.com/silvatheme.renaissance?cmd=changeset;node=fff9fd2b96e7
modified:  src/silvatheme/renaissance/renaissance_templates/sidebar.cpt
added:     
removed:   
log:       Changed sidebar template.


diffstat:

 src/silvatheme/renaissance/renaissance_templates/sidebar.cpt |  45 ++++++-----
 1 files changed, 24 insertions(+), 21 deletions(-)

diffs (61 lines):

diff -r f2c4dc3cfb7e -r fff9fd2b96e7 src/silvatheme/renaissance/renaissance_templates/sidebar.cpt
--- a/src/silvatheme/renaissance/renaissance_templates/sidebar.cpt	Tue Oct 22 17:26:57 2013 +0200
+++ b/src/silvatheme/renaissance/renaissance_templates/sidebar.cpt	Wed Oct 23 12:23:28 2013 +0200
@@ -26,33 +26,36 @@
       </li>
     </ol>
   </nav>
-  <section id="follow" class="plot">
-    <h3>Follow us</h3>
-    <ol>
-      <li><a href="http://twitter.com/infrae/" id="twitter">Twitter</a></li>
-      <li><a href="http://www.linkedin.com/company/infrae" id="linkedin">LinkedIn</a></li>
-      <li><a href="${layout.root_url}/news/rss.xml" id="rss">RSS feed</a></li>
-    </ol>
-    <tal:if tal:define="branch python:request.URL1.split('/')"
-      tal:condition="python:'news' in branch or 'products' in branch">
-      <tal:tweet tal:define="feeder provider.search_document('twitterfeeder')"
-        tal:condition="feeder is not None">
-        <h4>Latest tweet</h4>
-        <tal:embed tal:replace="structure feeder">
-          latest tweet with twitter timeline cs
-        </tal:embed>
-      </tal:tweet>
-    </tal:if>
-  </section>
+  <tal:followus tal:define="facet provider.search_document('facet')"
+    tal:condition="facet is None">
+    <section id="follow" class="plot">
+      <h3>Follow us</h3>
+      <ol>
+        <li><a href="http://twitter.com/infrae/" id="twitter">Twitter</a></li>
+        <li><a href="http://www.linkedin.com/company/infrae" id="linkedin">LinkedIn</a></li>
+        <li><a href="${layout.root_url}/news/rss.xml" id="rss">RSS feed</a></li>
+      </ol>
+      <tal:if tal:define="branch python:request.URL1.split('/')"
+        tal:condition="python:'news' in branch or 'products' in branch">
+        <tal:tweet tal:define="feeder provider.search_document('twitterfeeder')"
+          tal:condition="feeder is not None">
+          <h4>Latest tweet</h4>
+          <tal:embed tal:replace="structure feeder">
+            latest tweet with twitter timeline cs
+          </tal:embed>
+        </tal:tweet>
+      </tal:if>
+    </section>
+  </tal:followus>
   <tal:contactblock tal:define="facet provider.search_document('facet')"
     tal:condition="facet is not None">
+    <section id="contactus">
+      <tal:contactform tal:replace="structure provider:contactform" />
+    </section>
     <section id="facet" class="plot">
       <tal:facet tal:replace="structure facet">
         embed supplementary info
       </tal:facet>
     </section>
-    <section id="contactus">
-      <tal:contactform tal:replace="structure provider:contactform" />
-    </section>
   </tal:contactblock>
 </aside>