change first tab to composition, add agenda tab (#883)
This commit is contained in:
parent
8d2faae11d
commit
5a4bc0e941
|
@ -13,7 +13,7 @@ from plone.namedfile.field import NamedImage
|
|||
from tabellio.mixedcommittee import MessageFactory as _
|
||||
|
||||
class ICommittee(form.Schema):
|
||||
objectives = RichText(title=_(u'Objectives'), required=False)
|
||||
composition = RichText(title=_(u'Composition'), required=False)
|
||||
relationship = RichText(title=_(u'Relationship'), required=False)
|
||||
resolutions = RichText(title=_(u'Resolutions'), required=False)
|
||||
|
||||
|
|
|
@ -22,17 +22,21 @@
|
|||
<div class="inner">
|
||||
<div class="tabs_container">
|
||||
<dl class="enableFormTabbing">
|
||||
<dt>Objectifs</dt>
|
||||
<dt>Composition</dt>
|
||||
<dd>
|
||||
<div tal:content="structure item/objectives/output"/>
|
||||
<div tal:condition="item/composition" tal:content="structure item/composition/output"/>
|
||||
</dd>
|
||||
<dt>Entente</dt>
|
||||
<dd>
|
||||
<div tal:content="structure item/relationship/output"/>
|
||||
<div tal:condition="item/relationship" tal:content="structure item/relationship/output"/>
|
||||
</dd>
|
||||
<dt>Résolutions</dt>
|
||||
<dd>
|
||||
<div tal:content="structure item/resolutions/output"/>
|
||||
<div tal:condition="item/resolutions" tal:content="structure item/resolutions/output"/>
|
||||
</dd>
|
||||
<dt>Agenda</dt>
|
||||
<dd>
|
||||
<div/>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
|
Reference in New Issue