[imp] first cleanup of headers
bzr revid: nicolas.vanhoren@openerp.com-20110902142506-846crhyqt1pyaaqx
This commit is contained in:
parent
7f382cf702
commit
ab7adc42c5
|
@ -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,
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue