[Checkins]
SVN: grokui.introspector/trunk/src/grokui/introspector/content_templates/inspect.pt
working inspect template without master macros
Martin Lundwall
martin at webworks.se
Tue Jul 22 11:17:04 EDT 2008
Log message for revision 88708:
working inspect template without master macros
Changed:
U grokui.introspector/trunk/src/grokui/introspector/content_templates/inspect.pt
-=-
Modified: grokui.introspector/trunk/src/grokui/introspector/content_templates/inspect.pt
===================================================================
--- grokui.introspector/trunk/src/grokui/introspector/content_templates/inspect.pt 2008-07-22 15:11:31 UTC (rev 88707)
+++ grokui.introspector/trunk/src/grokui/introspector/content_templates/inspect.pt 2008-07-22 15:17:03 UTC (rev 88708)
@@ -1,14 +1,17 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html metal:use-macro="context/@@master/macros/page">
- <div metal:fill-slot="main" tal:define="objectinfo view/getObjectInfo">
- <h1>Content browser</h1>
+<html>
+ <h1>Content browser</h1>
<h2>Content</h2>
- Here should be sub objects (if any)
-
+ <tal:content define="content context/keys | nohting" >
+ <span tal:condition="not: content">
+ No content found...
+ </span>
+ <span tal:condition="content"
+ tal:repeat="item content">
+ <div tal:content="item" />
+ </span>
+ </tal:content>
<h2>Object Info</h2>
- <span tal:content="structure objectinfo/@@index.html"/>
+ <span tal:content="context"/>
- </div>
-</html>
+</html>
\ No newline at end of file
More information about the Checkins
mailing list