diff options
| author | Vidhin Mehta <vme@tinyerp.com> | 2013-08-23 10:36:02 +0530 |
|---|---|---|
| committer | Vidhin Mehta <vme@tinyerp.com> | 2013-08-23 10:36:02 +0530 |
| commit | 75ddd5ccbec73c4a671b6a74efaa3d41dc2ea2db (patch) | |
| tree | 50ed3620df15e8533760f5d47e754a1d39c1e856 /addons/hr/static/src/xml/suggestions.xml | |
| parent | 42f27a15275effd9c43dfe99e32c395ca6b3fd8a (diff) | |
| parent | a7f4b6aaa0359d12046e81183417c24f093cd7c3 (diff) | |
[MERGE]Trunk.
bzr revid: vme@tinyerp.com-20130823050602-33bqv07e7g8dhv7x
Diffstat (limited to 'addons/hr/static/src/xml/suggestions.xml')
| -rw-r--r-- | addons/hr/static/src/xml/suggestions.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/addons/hr/static/src/xml/suggestions.xml b/addons/hr/static/src/xml/suggestions.xml new file mode 100644 index 00000000000..f3095627bae --- /dev/null +++ b/addons/hr/static/src/xml/suggestions.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<template> + + <!-- Employees placeholder in sidebar --> + <t t-extend="mail.wall.sidebar"> + <t t-jquery=".oe_mail_wall_sidebar" t-operation="append"> + <div class="oe_suggestions_employees"></div> + </t> + </t> + + <!-- Suggested employees --> + <div t-name="hr.suggestions.employees" class="oe_sidebar_suggestion oe_suggestion_employee"> + <div class="oe_suggest_title"> + <a class="oe_suggestion_remove oe_suggestion_employee oe_e">X</a> + <h2>Suggested Employees</h2> + </div> + <div class="oe_suggest_items"> + <t t-foreach="widget.employees" t-as="result"> + <div class="oe_suggested_item"> + <div class="oe_suggested_item_image"> + <a t-attf-href="#model=hr.employee&id=#{result.id}"> + <img t-attf-src="{result.image}" t-attf-alt="{result.name}"/> + </a> + </div> + <div class="oe_suggested_item_content"> + <a class="oe_suggestion_item_name" t-attf-href="#model=hr.employee&id=#{result.id}"><t t-esc="result.name"/></a> + <a class="oe_suggestion_remove_item oe_suggestion_employee oe_e" t-attf-id="{result.id}">X</a> + <br/> + <button class="oe_suggestion_follow" t-att-id="result.id">Follow</button> + </div> + </div> + </t> + </div> + </div> + +</template> |
