Bof, mais ça ne plante plus occasionnellement.
This commit is contained in:
parent
36e952759a
commit
7253dbf02e
|
@ -36,16 +36,17 @@
|
|||
|
||||
<div id="content">
|
||||
|
||||
<div id="path" tal:condition="fileName != 'index.py' and (fileName.startswith('index') or currentObject)">
|
||||
<span tal:define="objectPath getPathToObject(currentObject); mR getMainRubric()" tal:condition="objectPath" >
|
||||
<span tal:condition="currentObject" tal:omit-tag="" tal:repeat="o objectPath">
|
||||
<span tal:omit-tag="" tal:condition="o == mR">
|
||||
<a tal:attributes="href rootUrl()">Accueil</a>
|
||||
<div id="path" tal:condition="currentObject" tal:define="mR getMainRubric()" tal:on-error="nothing">
|
||||
<span tal:define="objectPath getPathToObject(currentObject)" tal:condition="objectPath">
|
||||
<span tal:omit-tag="" tal:repeat="o objectPath">
|
||||
<span tal:omit-tag="" tal:condition="o == mR" tal:on-error="nothing">
|
||||
<a tal:attributes="href rootUrl()" tal:translate="">Home</a>
|
||||
<img tal:reroot="src" src="/images/right.png" width="19" height="6" alt=" - " />
|
||||
</span>
|
||||
<span tal:omit-tag="" tal:condition="o != mR">
|
||||
<a tal:attributes="href o.getUrl()" tal:content="o.label">breadCrumb</a>
|
||||
<span tal:omit-tag="" tal:condition="o != mR" tal:on-error="nothing">
|
||||
<a tal:attributes="href o.getUrl()" tal:content="o.label">breadCrumb</a>
|
||||
<img tal:reroot="src" src="/images/right.png" width="19" height="6" alt=" - " />
|
||||
</span>
|
||||
<img tal:reroot="src" src="/images/right.png" width="19" height="6" alt=" - " />
|
||||
</span>
|
||||
<span tal:condition="currentObject" tal:replace="currentObject.label">courant</span>
|
||||
</span>
|
||||
|
|
|
@ -43,16 +43,17 @@
|
|||
|
||||
<div id="main">
|
||||
|
||||
<div id="path" tal:condition="fileName != 'index.py' and (fileName.startswith('index') or currentObject)">
|
||||
<span tal:define="objectPath getPathToObject(currentObject); mR getMainRubric()" tal:condition="objectPath" >
|
||||
<span tal:condition="currentObject" tal:omit-tag="" tal:repeat="o objectPath">
|
||||
<span tal:omit-tag="" tal:condition="o == mR">
|
||||
<a tal:attributes="href rootUrl()" tal:translate="">Home</a>
|
||||
<div id="path" tal:condition="currentObject" tal:define="mR getMainRubric()" tal:on-error="nothing">
|
||||
<span tal:define="objectPath getPathToObject(currentObject)" tal:condition="objectPath">
|
||||
<span tal:omit-tag="" tal:repeat="o objectPath">
|
||||
<span tal:omit-tag="" tal:condition="o == mR" tal:on-error="nothing">
|
||||
<a tal:attributes="href rootUrl()" tal:translate="">Home</a>
|
||||
<img tal:reroot="src" src="/images/right.png" width="19" height="6" alt=" - " />
|
||||
</span>
|
||||
<span tal:omit-tag="" tal:condition="o != mR">
|
||||
<a tal:attributes="href o.getUrl()" tal:content="o.label">breadCrumb</a>
|
||||
<span tal:omit-tag="" tal:condition="o != mR" tal:on-error="nothing">
|
||||
<a tal:attributes="href o.getUrl()" tal:content="o.label">breadCrumb</a>
|
||||
<img tal:reroot="src" src="/images/right.png" width="19" height="6" alt=" - " />
|
||||
</span>
|
||||
<img tal:reroot="src" src="/images/right.png" width="19" height="6" alt=" - " />
|
||||
</span>
|
||||
<span tal:condition="currentObject" tal:replace="currentObject.label">courant</span>
|
||||
</span>
|
||||
|
|
Reference in New Issue