diff --git a/docs/notes.txt b/docs/notes.txt
index 7519935..7f09d1f 100644
--- a/docs/notes.txt
+++ b/docs/notes.txt
@@ -87,8 +87,6 @@ TODO
- terminer la vue pour les kws
- equivalences sous forme de liste
- - virer les doublons dans les RT
- - afficher les enfants
- affiner la feuille de style
- vocabulaire pour autocomplete
diff --git a/src/collective/dms/thesaurus/browser/view.py b/src/collective/dms/thesaurus/browser/view.py
new file mode 100644
index 0000000..a65b670
--- /dev/null
+++ b/src/collective/dms/thesaurus/browser/view.py
@@ -0,0 +1,33 @@
+from zope.component import getUtility
+
+from zope.app.intid.interfaces import IIntIds
+
+from zc.relation.interfaces import ICatalog
+
+from plone.dexterity.browser.view import DefaultView
+
+#from plone.dexterity.interfaces import IDexterityFTI
+#from plone.dexterity.utils import getAdditionalSchemata
+
+
+class DmsKeywordView(DefaultView):
+ """The default view for DMSKeyword.
+ """
+
+ @property
+ def children(self):
+ intids = getUtility(IIntIds)
+ catalog = getUtility(ICatalog)
+ value = []
+ try:
+ doc_intid = intids.getId(self.context)
+ except KeyError:
+ pass
+ else:
+ for ref in catalog.findRelations(
+ {'to_id': doc_intid, 'from_attribute': 'broader'}):
+ tp = (ref.from_path, ref.from_object.Title())
+ if tp not in value:
+ value.append(tp)
+ return value
+
diff --git a/src/collective/dms/thesaurus/configure.zcml b/src/collective/dms/thesaurus/configure.zcml
index 3333b00..49a5732 100644
--- a/src/collective/dms/thesaurus/configure.zcml
+++ b/src/collective/dms/thesaurus/configure.zcml
@@ -19,6 +19,7 @@
+
,