allow redefinition of buttons via fill-slot

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4219 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2011-04-20 06:21:37 +00:00
parent f22f2b1a24
commit 4f94eb44c2
2 changed files with 2 additions and 1 deletions

View file

@ -287,6 +287,7 @@
<div metal:define-macro="buttons" class="buttons"> <div metal:define-macro="buttons" class="buttons">
<div dojoType="dijit.layout.ContentPane" region="bottom" <div dojoType="dijit.layout.ContentPane" region="bottom"
tal:omit-tag="not:view/isInnerHtml"> tal:omit-tag="not:view/isInnerHtml">
<metal:buttons define-slot="buttons">
<input value="Save" type="submit" <input value="Save" type="submit"
i18n:attributes="value" i18n:attributes="value"
tal:attributes="onClick python: view.closeAction(True) or tal:attributes="onClick python: view.closeAction(True) or
@ -295,6 +296,7 @@
i18n:attributes="value" i18n:attributes="value"
tal:condition="view/isInnerHtml" tal:condition="view/isInnerHtml"
tal:attributes="onClick view/closeAction"> tal:attributes="onClick view/closeAction">
</metal:buttons>
</div> </div>
</div> </div>

View file

@ -66,7 +66,6 @@ table.listing {
} }
table.listing th { table.listing th {
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
color: #000040; color: #000040;
padding: 0 2px 0 2px; padding: 0 2px 0 2px;
} }