[ADD] : icons for published in

bzr revid: aja@tinyerp.com-20140219131829-kioys6v15c2b9yyp
This commit is contained in:
ajay javiya (OpenERP) 2014-02-19 18:48:29 +05:30
parent 3a1334064b
commit 35172c499b
3 changed files with 5 additions and 5 deletions

View File

@ -4,6 +4,7 @@
<record id="blog_blog_1" model="blog.blog">
<field name="name">News</field>
<field name="description">Presentation of new OpenERP features</field>
<field name="image" type="base64" file="website_blog/static/src/img/news.png"/>
</record>
<record id="menu_news" model="website.menu">

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

View File

@ -23,8 +23,7 @@ $(document).ready(function() {
window.location.hash = target;
});
}
function newpage() {
$.ajax({
url: newLocation,
@ -33,6 +32,9 @@ $(document).ready(function() {
$("html").stop().animate({ scrollTop: $("#wrap:last-child").offset().top }, 1000,function(e){
$("#wrap:first").remove();
$(document).scrollTop($("#wrap:last-child").offset().top);
//bind again it takes control from now on, until page relaod.
$(document).find('.cover_footer').on('click',page_transist);
$(document).find('a[href^="#blog_content"]').on('click', animate);
var content = $(document).find("#blog_content p");
if (content)
new openerp.website.blog_discussion({'document_user': $('#is_document_user').length, 'content' : content});
@ -41,9 +43,6 @@ $(document).ready(function() {
if (newLocation != window.location) {
history.pushState(null, null, newLocation);
}
//bind again it takes control from now on, until page relaod.
$(document).find('.cover_footer').on('click',page_transist);
$(document).find('a[href^="#blog_content"]').on('click', animate);
});
}
});