[FIX] chrome template use a template url for the logo, needed for demo

bzr revid: al@openerp.com-20121205124218-0qdvqed5td9mh84k
This commit is contained in:
Antony Lesuisse
2012-12-05 13:42:18 +01:00
parent 990934442c
commit 0c3f9f691b
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1106,7 +1106,6 @@ instance.web.WebClient = instance.web.Client.extend({
start: function() {
var self = this;
return $.when(this._super()).then(function() {
self.$(".oe_logo").attr("href", $.param.fragment("" + window.location, "", 2).slice(0, -1));
if (jQuery.param !== undefined && jQuery.deparam(jQuery.param.querystring()).kitten !== undefined) {
$("body").addClass("kitten-mode-activated");
if ($.blockUI) {
+1 -1
View File
@@ -436,7 +436,7 @@
</tr>
<tr>
<td class="oe_leftbar" valign="top">
<a class="oe_logo" href="#"><img t-att-src='_s + "/web/static/src/img/logo.png"'/></a>
<a class="oe_logo" t-attf-href="/?ts=#{Date.now()}"><img t-att-src='_s + "/web/static/src/img/logo.png"'/></a>
<div class="oe_secondary_menus_container"/>
<div class="oe_footer">
Powered by <a href="http://www.openerp.com" target="_blank"><span>OpenERP</span></a>