appy.gen: minor updates.
This commit is contained in:
parent
f6a828bc13
commit
8aa03a091a
|
@ -155,7 +155,6 @@
|
||||||
<tal:anyNumberOfReferences condition="not: atMostOneRef">
|
<tal:anyNumberOfReferences condition="not: atMostOneRef">
|
||||||
<fieldset tal:attributes="class python:test(innerRef, 'innerAppyFieldset', '')">
|
<fieldset tal:attributes="class python:test(innerRef, 'innerAppyFieldset', '')">
|
||||||
<legend tal:condition="python: not innerRef or showPlusIcon">
|
<legend tal:condition="python: not innerRef or showPlusIcon">
|
||||||
<span tal:condition="not: innerRef" tal:content="label"/>
|
|
||||||
(<span tal:replace="totalNumber"/>)
|
(<span tal:replace="totalNumber"/>)
|
||||||
<metal:plusIcon use-macro="app/ui/widgets/ref/macros/plusIcon"/>
|
<metal:plusIcon use-macro="app/ui/widgets/ref/macros/plusIcon"/>
|
||||||
<tal:comment replace="nothing">The search icon if field is queryable</tal:comment>
|
<tal:comment replace="nothing">The search icon if field is queryable</tal:comment>
|
||||||
|
|
|
@ -198,7 +198,7 @@
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<tal:comment replace="nothing">Displays a field label.</tal:comment>
|
<tal:comment replace="nothing">Displays a field label.</tal:comment>
|
||||||
<tal:label metal:define-macro="label" condition="widget/hasLabel"><label tal:attributes="for widget/name" tal:condition="python: not ((widget['type'] == 'Action') or ((widget['type'] == 'Ref') and (widget['add'])))" tal:content="structure python: contextObj.translate('label', field=widget)"></label></tal:label>
|
<tal:label metal:define-macro="label" condition="widget/hasLabel"><label tal:attributes="for widget/name" tal:condition="python: (widget['type'] != 'Action')" tal:content="structure python: contextObj.translate('label', field=widget)"></label></tal:label>
|
||||||
|
|
||||||
<tal:comment replace="nothing">Displays a field description.</tal:comment>
|
<tal:comment replace="nothing">Displays a field description.</tal:comment>
|
||||||
<tal:description metal:define-macro="description" condition="widget/hasDescr"><span class="discreet" tal:content="structure python: contextObj.translate('descr', field=widget)"></span>
|
<tal:description metal:define-macro="description" condition="widget/hasDescr"><span class="discreet" tal:content="structure python: contextObj.translate('descr', field=widget)"></span>
|
||||||
|
|
Loading…
Reference in a new issue