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_table_view.pt

92 lines
3.7 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">
<h1 class="documentFirstHeading" tal:content="context/Title" />
<div tal:replace="structure provider:plone.belowcontenttitle" />
<table id="dmskeywords-navigation"
i18n:domain="collective.dms.thesaurus">
<tr id="dmskeywords-navigation-row">
<td id="dmskeywords-navigation-left-column">
<div id="dmskeywords-navigation-broader-field"
class="field"
tal:define="widget python:view.widgets.get('broader')">
<label tal:content="widget/label" />
<br />
<div tal:content="structure widget/render" />
</div>
<h1 class="documentFirstHeading" tal:content="context/Title" />
<p class="documentDescription"
tal:define="widget python:view.widgets.get('equivs')"
tal:condition="widget/terms"
><label tal:content="widget/label" /><br />
<tal:equivs content="structure widget/render" /></p>
<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>
<div class="field" id="dmskeywords-navigation-narrower-field">
<label i18n:translate="">NT (Narrower Terms)</label>
<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 href="#"
tal:content="value/label"
tal:attributes="href value/url"
/></li
></ul></tal:list>
<em tal:condition="not:view/children"
i18n:translate="">nothing</em>
</div>
</td>
<td id="dmskeywords-navigation-right-column">
<div class="field" id="dmskeywords-navigation-related-field">
<label i18n:translate="">RT (Related Terms)</label>
<br />
<tal:list condition="view/related">
<ul id="" class=""
tal:attributes="id string:form-widgets-related;
class string:contenttree-widget relatedthesauruskeywords-field;
"><li tal:repeat="value view/related"
><a href="#"
tal:content="value/label"
tal:attributes="href value/url"
/></li
></ul></tal:list>
<em tal:condition="not:view/related"
i18n:translate="">nothing</em>
</div>
</td>
</tr>
</table>
</metal:main>
</body>
</html>