summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorStefan Rijnhart <stefan@therp.nl>2011-10-29 19:23:54 +0200
committerStefan Rijnhart <stefan@therp.nl>2011-10-29 19:23:54 +0200
commit93d35328dc17586a4dbc0e6a1428df63ebe610c1 (patch)
tree5532b1eb91dc72732bd3bcdb8cbaae080092f0e9 /addons/web/static/src/xml
parent04b619f7bb8339259b7d17b9ec90a71669f67c61 (diff)
[IMP] Form view: honours 'string' attribute on 'group' tag
lp bug: https://launchpad.net/bugs/883445 fixed bzr revid: stefan@therp.nl-20111029172354-gryhpp17e3nr4rr8
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 8984daffeb3..c7dd21f7784 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -728,6 +728,17 @@
</tr>
</table>
</t>
+<t t-name="WidgetGroupFrame">
+ <t t-if="widget.string">
+ <fieldset>
+ <legend><t t-esc="widget.string"/></legend>
+ <t t-call="WidgetFrame"/>
+ </fieldset>
+ </t>
+ <t t-if="!widget.string">
+ <t t-call="WidgetFrame"/>
+ </t>
+</t>
<t t-name="WidgetNotebook">
<ul>
<li t-foreach="widget.pages" t-as="page">