[IMP] SEO UI improvements

bzr revid: ddm@openerp.com-20130920142902-hxo6e3ypgje2hzjz
This commit is contained in:
ddm 2013-09-20 16:29:02 +02:00
parent 8989d0c7d9
commit e37e53976a
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@
website.seo = {};
function analyzeKeyword(htmlPage, keyword) {
return htmlPage.isInTitle(keyword) ? {
return htmlPage.isInTitle(keyword) ? {
title: 'keyword-in-title',
description: "This keyword is used in the page title",
} : htmlPage.isInDescription(keyword) ? {
@ -410,7 +410,7 @@
setTimeout(function () {
var title = self.$('input[name=seo_page_title]').val();
self.htmlPage.changeTitle(title);
}, 1);
}, 0);
},
descriptionChanged: function () {
var self = this;

View File

@ -6,8 +6,8 @@
<div class="modal-content">
<div class="modal-header">
<button title="Close" type="button" class="close" data-dismiss="modal">×</button>
<h2 class="modal-title">Promote <small class="js_seo_page_url"></small></h2>
<h4>Get your page efficiently referenced in Google to attract more visitors.</h4>
<h3 class="modal-title js_seo_page_url"></h3>
<h4 class="text-muted">Get this page efficiently referenced in Google to attract more visitors.</h4>
</div>
<div class="modal-body">
<div class="js_seo_tips" />