view for dms keyword now displays children
This commit is contained in:
parent
2b10d47ab0
commit
e12a479aa6
|
@ -22,7 +22,7 @@
|
|||
<browser:page
|
||||
for="collective.dms.thesaurus.dmskeyword.IDmsKeyword"
|
||||
name="dmskeyword.view"
|
||||
class="plone.dexterity.browser.view.DefaultView"
|
||||
class="collective.dms.thesaurus.browser.view.DmsKeywordView"
|
||||
template="dmskeyword_view.pt"
|
||||
permission="zope2.View"
|
||||
/>
|
||||
|
|
|
@ -39,10 +39,22 @@
|
|||
</div>
|
||||
|
||||
<div id="dmskeywords-navigation-right">
|
||||
<div class="field">
|
||||
<div class="field"
|
||||
tal:define="rel_widget python:view.widgets.get('related')">
|
||||
<label tal:content="string:NT (Narrower Term)" />
|
||||
<br />
|
||||
<div tal:content="string:content here" />
|
||||
<span id="" class=""
|
||||
tal:attributes="id string:form-widgets-children;
|
||||
class string:contenttree-widget relatedthesauruskeywords-field;
|
||||
"><tal:block
|
||||
tal:repeat="value view/children"
|
||||
><a class="selected-option"
|
||||
href="#"
|
||||
tal:content="python:value[1]"
|
||||
tal:attributes="href python:value[0]"
|
||||
/><tal:block condition="not:repeat/value/end">, </tal:block
|
||||
></tal:block
|
||||
></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Reference in New Issue