[Checkins] SVN: plonetheme.zope2/trunk/plonetheme/zope2/browser/topimage.pt fix

Andreas Jung andreas at andreas-jung.com
Wed Aug 4 09:47:07 EDT 2010


Log message for revision 115437:
  fix
  

Changed:
  U   plonetheme.zope2/trunk/plonetheme/zope2/browser/topimage.pt

-=-
Modified: plonetheme.zope2/trunk/plonetheme/zope2/browser/topimage.pt
===================================================================
--- plonetheme.zope2/trunk/plonetheme/zope2/browser/topimage.pt	2010-08-04 13:05:35 UTC (rev 115436)
+++ plonetheme.zope2/trunk/plonetheme/zope2/browser/topimage.pt	2010-08-04 13:47:06 UTC (rev 115437)
@@ -1,9 +1,10 @@
 
 <div class="topimage" tal:define="portal_url python: context.portal_url.getPortalObject().absolute_url()">
-    <a tal:attributes="href string:$portal_url/about-zope-2/six-reasons-for-using-zope"
+    <a tal:condition="python: not 'calendar.zope.org' in request.ACTUAL_URL"
+       tal:attributes="href string:$portal_url/about-zope-2/six-reasons-for-using-zope"
        i18n:domain="plone">
-       <img tal:condition="python: not 'calendar.zope.org' in request.ACTUAL_URL"
-            tal:attributes="src string:$portal_url/sixtop.jpg" alt="Six top reaons for using Zope" width="605" /></a>
+       <img  tal:attributes="src string:$portal_url/sixtop.jpg" alt="Six top reaons for using Zope" width="605" /></a>
+
        <img tal:condition="python: 'calendar.zope.org' in request.ACTUAL_URL"
-            tal:attributes="src string:$portal_url/logo_calendar.gif" alt="Zope Events" width="605" /></a>
+            tal:attributes="src string:$portal_url/logo_calendar.gif" alt="Zope Events" width="605" />
 </div>



More information about the checkins mailing list