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

Andreas Jung andreas at andreas-jung.com
Wed Aug 4 07:39:18 EDT 2010


Log message for revision 115431:
  calendar logo
  

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 11:25:48 UTC (rev 115430)
+++ plonetheme.zope2/trunk/plonetheme/zope2/browser/topimage.pt	2010-08-04 11:39:18 UTC (rev 115431)
@@ -2,5 +2,8 @@
 <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"
        i18n:domain="plone">
-        <img tal:attributes="src string:$portal_url/sixtop.jpg" alt="sixtop" width="605" /></a>
+       <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:condition="python: 'calendar.zope.org' in request.ACTUAL_URL"
+            tal:attributes="src string:$portal_url/logo_calendar.gif" alt="Zope Events" width="605" /></a>
 </div>



More information about the checkins mailing list