summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-09-14 11:13:19 +0200
committerXavier Morel <xmo@openerp.com>2011-09-14 11:13:19 +0200
commita84f8fac3e42794ab62088eaa07b4d4af388fb43 (patch)
tree825a974cbe1dc1529874b07e5ab69d01be6d021f /addons/web/static/src/xml/base.xml
parentc7c2b5846d3775780bbaa9a84a93ad755bdb8756 (diff)
[IMP] move action name display to ViewManagerAction, move form's debug (display view code button) to viewmanageraction as well
bzr revid: xmo@openerp.com-20110914091319-o1941w689183wivt
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 1b1745036c4..fcd7f9a96b8 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -444,7 +444,13 @@
<t t-extend="ViewManager" t-name="ViewManagerAction">
<t t-jquery=".view-manager-main-content" t-operation="prepend">
<a class="oe-shortcut-toggle" title="Add / Remove Shortcut..."
- href="javascript: void(0)"> </a>
+ href="javascript: void(0)"> </a>
+ <h2 class="oe_view_title">
+ <t t-esc="self.action.name"/>
+ <button t-if="self.session.debug" class="oe_get_xml_view">
+ View#<span></span>
+ </button>
+ </h2>
</t>
</t>
@@ -502,7 +508,6 @@
</div>
</t>
<t t-name="TreeView">
- <h2 class="oe_view_title"><t t-esc="title"/></h2>
<select t-if="toolbar" style="width: 30%">
</select>
<table class="oe-treeview-table">
@@ -632,7 +637,6 @@
</t>
<t t-name="FormView">
<div class="oe_form_header" t-att-id="view.element_id + '_header'">
- <h2 class="oe_view_title"><t t-esc="view.fields_view.arch.attrs.string"/> <button t-if="view.session.debug" class="oe_get_xml_view">View#<t t-esc="view.fields_view.view_id"/></button></h2>
<div class="oe_form_buttons" t-if="view.options.action_buttons !== false">
<!--<button type="button" class="oe_form_button_save">
<span class="oe_form_on_update">Save</span>
@@ -974,7 +978,6 @@
</button>
</t>
<t t-name="SearchView">
- <h2 class="oe_view_title"><t t-esc="view.attrs['string']"/></h2>
<form class="oe_forms">
<t t-call="SearchView.render_lines"/>
<div class="oe_search-view-buttons" style="text-align: right;">