Added scope and historical notes to the keyword view

This commit is contained in:
David Convent 2013-01-29 11:29:50 +01:00
parent d36fe17ee4
commit fb49858d91
2 changed files with 16 additions and 5 deletions

View File

@ -36,6 +36,20 @@
]</tal:equivs></p>
<div tal:replace="structure provider:plone.belowcontenttitle" />
<dl class="portalMessage warning"
tal:define="widget python:view.widgets.get('scope_note')"
tal:condition="widget/value"
><dt tal:content="widget/label"/><dd >
<span tal:replace="structure widget/render" />
</dd></dl>
<dl class="portalMessage info"
tal:define="widget python:view.widgets.get('historical_note')"
tal:condition="widget/value"
><dt tal:content="widget/label"/><dd >
<span tal:replace="structure widget/render" />
</dd></dl>
<tal:related define="widget python:view.widgets.get('related')">
<div id="dmskeywords-navigation-related"
class="field"

View File

@ -16,8 +16,5 @@
onkeydown view/onkeydown;
onkeyup view/onkeyup"><li
tal:repeat="value view/terms"
><span class=""
tal:content="value" />
</li
></ul>
<em tal:condition="not:view/terms">(nothing)</em>
><span class="" tal:content="value" /></li></ul
><em tal:condition="not:view/terms">(nothing)</em>