[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/apidoc/browser/ apidoc used to crash if no default skin was set. This was because it

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Oct 5 10:50:55 EDT 2004


Log message for revision 27746:
  apidoc used to crash if no default skin was set. This was because it 
  always expected the favicon to be available. Conditionalizing the lookup 
  fixed the problem.
  
   --This line, and those below, will be ignored--
  
  M    apidoc/browser/menu_macros.pt
  M    apidoc/browser/details_macros.pt
  


Changed:
  U   Zope3/branches/ZopeX3-3.0/src/zope/app/apidoc/browser/details_macros.pt
  U   Zope3/branches/ZopeX3-3.0/src/zope/app/apidoc/browser/menu_macros.pt


-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/apidoc/browser/details_macros.pt
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/apidoc/browser/details_macros.pt	2004-10-04 20:55:50 UTC (rev 27745)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/apidoc/browser/details_macros.pt	2004-10-05 14:50:54 UTC (rev 27746)
@@ -22,7 +22,7 @@
     <metal:block define-slot="ecmascript_slot" />
 
     <link rel="icon" type="image/png"
-          tal:attributes="href context/++resource++favicon.png" />
+          tal:attributes="href context/++resource++favicon.png|default" />
   </head>
 
 <head>

Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/apidoc/browser/menu_macros.pt
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/apidoc/browser/menu_macros.pt	2004-10-04 20:55:50 UTC (rev 27745)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/apidoc/browser/menu_macros.pt	2004-10-05 14:50:54 UTC (rev 27746)
@@ -24,7 +24,7 @@
     <metal:block define-slot="ecmascript_slot" />
 
     <link rel="icon" type="image/png"
-          tal:attributes="href context/++resource++favicon.png" />
+          tal:attributes="href context/++resource++favicon.png|default" />
   </head>
 
 <head>



More information about the Zope3-Checkins mailing list