odoo/addons/web_linkedin/static/src/xml/linkedin.xml

58 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- vim:fdl=1:
-->
<templates xml:space="preserve">
<t t-name="FieldChar.linkedin">
<img class="oe_linkedin_img" t-att-src='_s + "/web_linkedin/static/src/img/Linkedin_blue.png"'/>
<div class="oe_linkedin_input"/>
</t>
<t t-name="Linkedin.popup">
<div>
<script type="in/Login">
</script>
<div style='display: table;width:100%'/>
</div>
</t>
<t t-name="Linkedin.EntityWidget">
<div class="oe_linkedin_entity">
<span class="oe_linkedin_thumb">
<span>
<img t-att-src='_s + "/web_linkedin/static/src/img/ghost_profile_60x60_v1.png"'/>
</span>
</span>
<h3/>
</div>
</t>
<t t-name="LinkedIn.DisabledWarning">
<div>
LinkedIn access was not enabled on this server.
Please ask your administrator to activate it.
</div>
</t>
<t t-name="LinkedIn.KeyWizard">
<div>
<p>
Connect OpenERP with LinkedIn to synchronize partners and customers with LinkedIn contacts and
get their data automatically (photos, address, news). You just need to setup the API key once, and it will work
for all users of your system.
</p>
<ul>
<li>Go to this URL:
<a href="https://www.linkedin.com/secure/developer" target="_blank">https://www.linkedin.com/secure/developer</a>.
</li>
<li>Log into LinkedIn.</li>
<li>Add a new application and fill the form,
<ul>
<li>JavaScript API Domain is Your domain name (e.g. https://yourcompany.my.openerp.com)</li>
<li>You can give multiple domain (e.g. yourcompany.my.openerp.com)</li>
<li>The programming tool is Javascript</li>
</ul>
</li>
<li>Copy the API key here:
<input type="text"/>
<button>Apply</button>
</li>
</ul>
</div>
</t>
</templates>