remove keyword view header in overlay, removed description field from keyword behaviour

This commit is contained in:
David Convent 2013-04-13 14:53:14 +02:00
parent 057f999000
commit 81e5cd5369
4 changed files with 9 additions and 1 deletions

View File

@ -9,8 +9,10 @@
<metal:main fill-slot="main">
<tal:contents_header condition="python: 'ajax_load' not in request.form.keys()">
<h1 class="documentFirstHeading" tal:content="context/Title" />
<div tal:replace="structure provider:plone.belowcontenttitle" />
</tal:contents_header>
<table id="dmskeywords-navigation"
i18n:domain="collective.dms.thesaurus">

View File

@ -9,8 +9,10 @@
<metal:main fill-slot="main">
<tal:contents_header condition="python: 'ajax_load' not in request.form.keys()">
<h1 class="documentFirstHeading" tal:content="context/Title" />
<div tal:replace="structure provider:plone.belowcontenttitle" />
</tal:contents_header>
<form id="thesaurus-search-form" tal:content="structure view/renderForm">
</form>

View File

@ -17,6 +17,10 @@ from .dmsthesaurus import NoThesaurusFound
class IDmsKeyword(model.Schema):
""" """
title = schema.TextLine(
title=_(u"Title")
)
# EQ: equivalences
equivs = ThesaurusKeywordEquivalences(
title=_(u'EQ (Equivalences)'),

View File

@ -22,7 +22,7 @@
<property name="klass">collective.dms.thesaurus.dmskeyword.DmsKeyword</property>
<property name="behaviors">
<element value="plone.app.content.interfaces.INameFromTitle"/>
<element value="plone.app.dexterity.behaviors.metadata.IDublinCore"/>
<!-- element value="plone.app.dexterity.behaviors.metadata.IDublinCore"/ !-->
<element value="collective.dms.thesaurus.indexers.IDmsKeywordIndexer" />
</property>
<!-- DO NOT use a model_source or it removes manually added fields while reapplying the profile -->