From 3591c3f312d45edf879447b698cfb96dd215b66b Mon Sep 17 00:00:00 2001 From: "Mahendra Barad (OpenERP)" Date: Tue, 11 Feb 2014 15:27:14 +0530 Subject: [PATCH] [IMP]improved view of blog cover bzr revid: mba@tinyerp.com-20140211095714-1ui064ahrxc5p3nd --- addons/website_blog/data/website_blog_demo.xml | 4 +--- .../lib/inlineDisqussions/inlineDisqussions.js | 2 +- .../website_blog/views/website_blog_templates.xml | 14 +++++++++----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/addons/website_blog/data/website_blog_demo.xml b/addons/website_blog/data/website_blog_demo.xml index c8c6d2c3ca6..5d846f1e57e 100644 --- a/addons/website_blog/data/website_blog_demo.xml +++ b/addons/website_blog/data/website_blog_demo.xml @@ -17,9 +17,7 @@ The Future of Emails - At OpenERP, we build tools to bring - productivity to enterprises.As emails and information flows are - one of the biggest wastes of time in companies. + Ideas behing the OpenERP communication tools. diff --git a/addons/website_blog/static/lib/inlineDisqussions/inlineDisqussions.js b/addons/website_blog/static/lib/inlineDisqussions/inlineDisqussions.js index dd54af070f5..b963f873171 100644 --- a/addons/website_blog/static/lib/inlineDisqussions/inlineDisqussions.js +++ b/addons/website_blog/static/lib/inlineDisqussions/inlineDisqussions.js @@ -9,7 +9,7 @@ var disqus_identifier; var defaults = { identifier: 'name', position: 'right', - post_id: $('h1').attr('data-oe-id'), + post_id: $('#blog_post_name').attr('data-oe-id'), }; // Overwrite default options with user provided ones. diff --git a/addons/website_blog/views/website_blog_templates.xml b/addons/website_blog/views/website_blog_templates.xml index b49b3f43351..faacbb2ff8f 100644 --- a/addons/website_blog/views/website_blog_templates.xml +++ b/addons/website_blog/views/website_blog_templates.xml @@ -183,10 +183,9 @@