[FIX] website: google_map remove trailing slash and add an attribut for disable scrolling

This commit is contained in:
Jeremy Kersten 2014-08-12 10:23:38 +02:00
parent 541cfc93a3
commit 953359738b
2 changed files with 4 additions and 4 deletions

View File

@ -112,8 +112,8 @@
<xpath expr="//ul[@id='reseller_countries']" position="after">
<h3>World Map</h3>
<ul class="nav">
<iframe t-attf-src="/google_map/?width=320&amp;height=240&amp;partner_ids=#{ google_map_partner_ids }&amp;partner_url=/partners/"
style="width:320px; height:260px; border:0; padding:0; margin:0;"></iframe>
<iframe t-attf-src="/google_map?width=320&amp;height=240&amp;partner_ids=#{ google_map_partner_ids }&amp;partner_url=/partners/"
style="width:320px; height:260px; border:0; padding:0; margin:0;" scrolling="no"></iframe>
</ul>
</xpath>
</template>

View File

@ -68,8 +68,8 @@
<template id="opt_country" inherit_option_id="website_customer.index" name="Show Map">
<xpath expr="//div[@id='ref_left_column']" position="inside">
<iframe t-attf-src="/google_map/?partner_ids=#{ google_map_partner_ids }&amp;partner_url=/customers/&amp;output=embed/"
style="width:100%; border:0; padding:0; margin:0;"></iframe>
<iframe t-attf-src="/google_map?partner_ids=#{ google_map_partner_ids }&amp;partner_url=/customers/&amp;output=embed/"
style="width:100%; border:0; padding:0; margin:0;" scrolling="no"></iframe>
</xpath>
</template>