summaryrefslogtreecommitdiff
path: root/addons/web_linkedin/static/src/xml/linkedin.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_linkedin/static/src/xml/linkedin.xml')
-rw-r--r--addons/web_linkedin/static/src/xml/linkedin.xml27
1 files changed, 20 insertions, 7 deletions
diff --git a/addons/web_linkedin/static/src/xml/linkedin.xml b/addons/web_linkedin/static/src/xml/linkedin.xml
index 4956fd7df5a..75c4c934268 100644
--- a/addons/web_linkedin/static/src/xml/linkedin.xml
+++ b/addons/web_linkedin/static/src/xml/linkedin.xml
@@ -6,14 +6,15 @@
<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="FieldChar.linkedin_url">
+ <a class="oe_linkedin_url" href="#" target="_blank"><img t-att-src='_s + "/web_linkedin/static/src/img/linkedin-profile.jpeg"'/></a>
+ </t>
<t t-name="Linkedin.popup">
<div>
- <script type="in/Login">
- </script>
- <h2 style="margin-top: -10px;">People</h2>
- <div class="oe_linkedin_pop_p" style='display: table;width:100%'/>
+ <h2 style="margin-top:-10px;">People</h2>
+ <div class="oe_linkedin_pop_p"></div>
<h2>Companies</h2>
- <div class="oe_linkedin_pop_c" style='display: table;width:100%'/>
+ <div class="oe_linkedin_pop_c"></div>
</div>
</t>
<t t-name="Linkedin.EntityWidget">
@@ -29,8 +30,20 @@
</t>
<t t-name="LinkedIn.DisabledWarning">
<div>
- LinkedIn access was not enabled on this server.
- Please ask your administrator to configure it in Settings > Configuration > Sales > Social Network Integration.
+ <img t-att-src='_s + "/web/static/src/img/warning.png"' style="float: left; margin: 5px"/>
+ <p>LinkedIn access was not enabled on this server.</p>
+ <p>Please ask your administrator to configure it in Settings > Configuration > Sales > Social Network Integration.</p>
+ <p>LinkedIn: <t t-raw="error.name"/></p>
+ </div>
+ </t>
+ <t t-name="LinkedIn.loginInformation">
+ <div class="oe_linkedin_authentified">If "<b><t t-raw="firstName"/> <t t-raw="lastName"/></b>" is not your account, <a class="oe_linkedin_logout">please click here to logout</a>.</div>
+ </t>
+ <t t-name="LinkedIn.AdvancedSearch">
+ <t t-raw="title"/>
+ <div class="oe_linkedin_advanced_search">
+ Search by url or keywords : <input name="search"/> <button>Search</button>
</div>
</t>
+
</templates> \ No newline at end of file