summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.seo.xml
diff options
context:
space:
mode:
authorGaurav Panchal <gan@openerp.com>2015-06-30 13:21:41 +0530
committerChristophe Matthieu <chm@odoo.com>2015-07-31 12:57:24 +0200
commitd52ec7fc42cbeecafea921ea30d1d0723a59078a (patch)
tree43695e3eeb88ceca1947836b0f2820ae2892744e /addons/website/static/src/xml/website.seo.xml
parent9fa38eeab2382144ad37cfb4755ead114dd48dc3 (diff)
[IMP] website: keyword search base on language on website promote
Diffstat (limited to 'addons/website/static/src/xml/website.seo.xml')
-rw-r--r--addons/website/static/src/xml/website.seo.xml26
1 files changed, 21 insertions, 5 deletions
diff --git a/addons/website/static/src/xml/website.seo.xml b/addons/website/static/src/xml/website.seo.xml
index c5522596a74..6e6e9438945 100644
--- a/addons/website/static/src/xml/website.seo.xml
+++ b/addons/website/static/src/xml/website.seo.xml
@@ -4,6 +4,12 @@
<t t-name="website.TopBar.menu.promote">
<li><a data-action="promote-current-page" href="#"><span title="Promote page on the web">Promote</span></a></li>
</t>
+
+ <t t-name="Configurator.language_promote">
+ <t t-foreach="language" t-as="lang">
+ <option t-att-value="lang[0]" t-att-selected="lang[0] == def_lang ? 'selected' : null"><t t-esc="lang[1]" /></option>
+ </t>
+ </t>
<t t-name="website.seo_configuration">
<div class="modal fade oe_seo_configuration js_seo_configuration" tabindex="-1" role="dialog">
@@ -24,14 +30,24 @@
<div class="form-group">
<label for="seo_page_keywords" class="col-sm-3 control-label">Add keyword:</label>
<div class="col-sm-4">
- <div class="input-group">
+ <div>
<input type="text" name="seo_page_keywords" class="form-control" maxlength="30"/>
- <span class="input-group-btn">
- <button data-action="add" class="btn btn-default" type="button">Add</button>
- </span>
</div>
</div>
</div>
+ <div class="row mt8">
+ <label for="seo_page_language" class="col-sm-3 control-label">Language:</label>
+ <div>
+ <div class="col-sm-4">
+ <select name="seo_page_language" id="language-box" class="form-control"/>
+ </div>
+ </div>
+ </div>
+ <div class="row mt8">
+ <div class="col-md-10 text-center">
+ <button data-action="add" class="btn btn-default" type="button">Add</button>
+ </div>
+ </div>
</div>
<span class="text-muted">Most searched topics related to your keywords, ordered by importance:</span>
<!-- filled in JS -->
@@ -97,7 +113,7 @@
<dl class="dl-horizontal mt8 mb8">
<dt>
<span t-attf-title="#{ widget.tooltip() }" t-attf-class="oe_seo_keyword #{ widget.highlight() } js_seo_keyword" t-att-data-keyword="widget.keyword">
- <a href="#" class="oe_remove" data-action="remove-keyword">x</a> <t t-raw="widget.keyword"/>
+ <t t-raw="widget.keyword"/> <a href="#" class="oe_remove" data-action="remove-keyword">x</a>
</span>
</dt>
<dd class="js_seo_keyword_suggestion">