allow hiding title, e.g. if shown already in another macro
This commit is contained in:
parent
7567374e50
commit
dae9610e2e
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@
|
||||||
|
|
||||||
<metal:data define-macro="conceptdata">
|
<metal:data define-macro="conceptdata">
|
||||||
<div tal:attributes="class string:content-$level;">
|
<div tal:attributes="class string:content-$level;">
|
||||||
<metal:block use-macro="view/concept_macros/concepttitle" />
|
<tal:block condition="not:title_shown|python:False">
|
||||||
|
<metal:block use-macro="view/concept_macros/concepttitle"/>
|
||||||
|
</tal:block>
|
||||||
<metal:slot define-slot="fields">
|
<metal:slot define-slot="fields">
|
||||||
<metal:block use-macro="view/concept_macros/conceptfields" />
|
<metal:block use-macro="view/concept_macros/conceptfields" />
|
||||||
</metal:slot>
|
</metal:slot>
|
||||||
|
|
Loading…
Add table
Reference in a new issue