section view: show children with title and description
This commit is contained in:
parent
55354b780e
commit
233ece8dfd
1 changed files with 7 additions and 2 deletions
|
@ -1,14 +1,18 @@
|
||||||
<html i18n:domain="loops">
|
<html i18n:domain="loops">
|
||||||
|
|
||||||
|
|
||||||
<metal:book define-macro="book">
|
<metal:children define-macro="children">
|
||||||
<metal:info use-macro="view/concept_macros/concepttitle" />
|
|
||||||
<div tal:repeat="related item/children">
|
<div tal:repeat="related item/children">
|
||||||
<h3>
|
<h3>
|
||||||
<a tal:attributes="href python:view.getUrlForTarget(related)"
|
<a tal:attributes="href python:view.getUrlForTarget(related)"
|
||||||
tal:content="related/title" /></h3>
|
tal:content="related/title" /></h3>
|
||||||
<div tal:content="structure related/renderedDescription" />
|
<div tal:content="structure related/renderedDescription" />
|
||||||
</div>
|
</div>
|
||||||
|
</metal:children>
|
||||||
|
|
||||||
|
<metal:book define-macro="book">
|
||||||
|
<metal:info use-macro="view/concept_macros/concepttitle" />
|
||||||
|
<metal:info use-macro="item/book_macros/children" />
|
||||||
</metal:book>
|
</metal:book>
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,6 +36,7 @@
|
||||||
</div>
|
</div>
|
||||||
</metal:navigation>
|
</metal:navigation>
|
||||||
<metal:info use-macro="view/concept_macros/concepttitle" />
|
<metal:info use-macro="view/concept_macros/concepttitle" />
|
||||||
|
<metal:info use-macro="item/book_macros/children" />
|
||||||
<div tal:repeat="related item/textResources">
|
<div tal:repeat="related item/textResources">
|
||||||
<div class="span-4">
|
<div class="span-4">
|
||||||
<div tal:attributes="class python:
|
<div tal:attributes="class python:
|
||||||
|
|
Loading…
Add table
Reference in a new issue