summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2011-09-02 16:25:06 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2011-09-02 16:25:06 +0200
commitab7adc42c5d0e06e71e80b50cad19e25de2ecc91 (patch)
tree31ef000b9d8a24e2630e8413da66bd3ebc5cb69a /addons/web/static/src
parent7f382cf7028fe8a2108778bbd62c7102d0addbc8 (diff)
[imp] first cleanup of headers
bzr revid: nicolas.vanhoren@openerp.com-20110902142506-846crhyqt1pyaaqx
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/chrome.js4
-rw-r--r--addons/web/static/src/xml/base.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js
index f0a981b1e6b..2d7515391c6 100644
--- a/addons/web/static/src/js/chrome.js
+++ b/addons/web/static/src/js/chrome.js
@@ -454,7 +454,7 @@ openerp.web.Login = openerp.web.Widget.extend({
},
display: function() {
var self = this;
-
+
this.$element.html(QWeb.render("Login", this));
this.database = new openerp.web.Database(
this, "oe_database", "oe_db_options");
@@ -680,7 +680,7 @@ openerp.web.Header = openerp.web.Widget.extend({
});
}
});
-},
+ },
display_error: function (error) {
return $('<div>').dialog({
modal: true,
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 5fa42ae62e8..af80d7d7163 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -334,8 +334,8 @@
</t>
<t t-name="Header-content">
<h1 class="header_title">
- <span class="database"><t t-esc="widget.session.db"/></span> - <t t-esc="widget.session.login"/> <br/>
- <small class="username">rpc_session_id: <t t-esc="widget.session.session_id"/></small>
+ (<t t-esc="widget.session.db"/>)<br/>
+ <small class="username"><t t-esc="widget.session.login"/></small>
</h1>
<div class="header_corner">
<ul class="block">