diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-09-06 10:35:00 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-09-06 10:35:00 +0200 |
| commit | 8a3f1742e0e9c7acaae726e5c7106d2d7df7e970 (patch) | |
| tree | 78ae5d981fcd25677caea5c8b3999b1e77bf4547 /addons/im/static/src/xml/im_common.xml | |
| parent | 6f6c59ec1de1881a70e4bf728ea5d8b56bd609f9 (diff) | |
| parent | c80cf7d0646463b290137c26fbada568a6942b00 (diff) | |
[MERGE] from website-al
bzr revid: chm@openerp.com-20130906083500-4n5knaxiqt4cg2ht
Diffstat (limited to 'addons/im/static/src/xml/im_common.xml')
| -rw-r--r-- | addons/im/static/src/xml/im_common.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/addons/im/static/src/xml/im_common.xml b/addons/im/static/src/xml/im_common.xml new file mode 100644 index 00000000000..4286d0c9710 --- /dev/null +++ b/addons/im/static/src/xml/im_common.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<templates> +<t t-name="im_common.conversation"> + <div class="oe_im_chatview_header"> + <img t-att-src="to_url('/im/static/src/img/green.png')" class="oe_im_chatview_online"/> + <t t-esc="widget.user.get('name')"/> + <scan class="oe_im_chatview_nbr_messages" /> + <button class="oe_im_chatview_close">×</button> + </div> + <div class="oe_im_chatview_disconnected"> + <t t-esc='widget.user.get("name") + _t(" is offline. He/She will receive your messages on his/her next connection.")'/> + </div> + <div class="oe_im_chatview_content"> + <div></div> + </div> + <div class="oe_im_chatview_footer"> + <input class="oe_im_chatview_input" t-att-placeholder="widget.inputPlaceholder" /> + </div> +</t> + +<t t-name="im_common.conversation_bubble"> + <div class="oe_im_chatview_bubble"> + <div class="oe_im_chatview_clip"> + <img class="oe_im_chatview_avatar" t-att-src="user.get('image_url')"/> + </div> + <div class="oe_im_chatview_from"><t t-esc="user.get('name')"/></div> + <div class="oe_im_chatview_bubble_list"> + <t t-foreach="items" t-as="item"> + <div class="oe_im_chatview_bubble_item"><t t-esc="item"/></div> + </t> + </div> + <div class="oe_im_chatview_time"><t t-esc="time"/></div> + </div> +</t> +</templates>
\ No newline at end of file |
