[Checkins]
SVN: Sandbox/ulif/grok-adminui/src/grok/admin/view_templates/docgrokview.pt
Inserted root link to documentation.
Uli Fouquet
uli at gnufix.de
Tue Jul 10 04:09:35 EDT 2007
Log message for revision 77671:
Inserted root link to documentation.
Changed:
U Sandbox/ulif/grok-adminui/src/grok/admin/view_templates/docgrokview.pt
-=-
Modified: Sandbox/ulif/grok-adminui/src/grok/admin/view_templates/docgrokview.pt
===================================================================
--- Sandbox/ulif/grok-adminui/src/grok/admin/view_templates/docgrokview.pt 2007-07-10 07:39:47 UTC (rev 77670)
+++ Sandbox/ulif/grok-adminui/src/grok/admin/view_templates/docgrokview.pt 2007-07-10 08:09:33 UTC (rev 77671)
@@ -4,21 +4,48 @@
</head>
<body>
<div metal:fill-slot="content">
- <div tal:content="context" />
- <h1>DocGrok Documentation for
- <span class="docgrok-pathvalue">
- <span tal:repeat="part view/getPathParts"><a href=""
- tal:attributes="href string:${view/root_url}${part/url}"
- tal:content="part/name">part</a></span>
- </span>
- </h1>
- <div class="Content">
- <h2>Path</h2>
- <div tal:content="context/path">
- path.to.some.element
+ <div tal:condition="not:view/getPathParts">
+ <h1 >
+ Welcome to DocGrok...
+ </h1>
+ <div>
+ you might want to discover the following trails...
+ <ul>
+ <li>
+ <a href=""
+ tal:attributes="href string:${view/root_url}/docgrok/zope">
+ The zope package</a>
+ </li>
+ <li>
+ <a href=""
+ tal:attributes="href string:${view/root_url}/docgrok/grok">
+ The Grok package</a>
+ </li>
+ </ul>
</div>
- <div class="description1">
- The python path of this element.
+ </div>
+
+ <div tal:condition="view/getPathParts">
+ <div tal:content="context" />
+ <div tal:content="python: str(view.getPathParts())" />
+
+ <h1>
+
+ DocGrok Documentation for
+ <span class="docgrok-pathvalue">
+ <span tal:repeat="part view/getPathParts"><a href=""
+ tal:attributes="href string:${view/root_url}${part/url}"
+ tal:content="part/name">part</a></span>
+ </span>
+ </h1>
+ <div class="Content">
+ <h2>Path</h2>
+ <div tal:content="context/path">
+ path.to.some.element
+ </div>
+ <div class="description1">
+ The python path of this element.
+ </div>
</div>
</div>
</div>
More information about the Checkins
mailing list