This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
collective.dms.thesaurus/src/collective/dms/thesaurus/browser/dmskeyword_view.pt

75 lines
2.9 KiB
XML

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
lang="en"
metal:use-macro="context/main_template/macros/master"
i18n:domain="plone.app.dexterity">
<body>
<metal:main fill-slot="main">
<div id="dmskeywords-navigation">
<tal:broader define="widget python:view.widgets.get('broader')">
<div id="dmskeywords-navigation-broader"
class="field"
tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)">
<label tal:content="widget/label" />
<br />
<div tal:content="structure widget/render" />
</div>
</tal:broader>
<div id="dmskeywords-navigation-middle">
<h1 class="documentFirstHeading" tal:content="context/Title" />
<p class="documentDescription">
<tal:equivs define="widget python:view.widgets.get('equivs')"
condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',) and widget.terms()"
>[
<tal:equiv-terms repeat="value widget/terms"
><span tal:content="value"
/><span tal:condition="not:repeat/value/end"
tal:replace="python:', '"
/></tal:equiv-terms>
]</tal:equivs></p>
<div tal:replace="structure provider:plone.belowcontenttitle" />
<tal:related define="widget python:view.widgets.get('related')">
<div id="dmskeywords-navigation-related"
class="field"
tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)">
<label tal:content="widget/label" />
<br />
<div tal:content="structure widget/render" />
</div>
</tal:related>
</div>
<div class="field" id="dmskeywords-navigation-narrower">
<label tal:content="string:NT (Narrower Terms)" />
<br />
<tal:list condition="view/children">
<ul id="" class=""
tal:attributes="id string:form-widgets-children;
class string:contenttree-widget narrowerthesauruskeywords-field;
"><li tal:repeat="value view/children"
><a class="selected-option"
href="#"
tal:content="value/label"
tal:attributes="href value/url"
/></li
></ul></tal:list>
<em tal:condition="not:view/children">(nothing)</em>
</div>
</div>
</metal:main>
</body>
</html>