summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/suggestions.xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-03-29 09:01:40 +0100
committerMartin Trigaux <mat@openerp.com>2013-03-29 09:01:40 +0100
commit3af8beb2b91217d229617c7b154f9456b0cdf3ea (patch)
tree49846ef4be7971745fe470680a47bfc7062d7aef /addons/mail/static/src/xml/suggestions.xml
parent5a112d8fa2f34d978e2580d706aef82b8e704e44 (diff)
[ADD] suggestion js and xml files
bzr revid: mat@openerp.com-20130329080140-t99dzeaiwikwjpsm
Diffstat (limited to 'addons/mail/static/src/xml/suggestions.xml')
-rw-r--r--addons/mail/static/src/xml/suggestions.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/addons/mail/static/src/xml/suggestions.xml b/addons/mail/static/src/xml/suggestions.xml
new file mode 100644
index 00000000000..874226bb332
--- /dev/null
+++ b/addons/mail/static/src/xml/suggestions.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<template>
+
+ <t t-name="mail.suggestions">
+ <div class="oe_suggestions_groups">No groups</div>
+ </t>
+
+ <!-- Suggested groups -->
+ <div t-name="mail.suggestions.groups" class="oe_sidebar_group">
+ <p class="oe_user_display">Suggested Groups</p>
+ <div class="oe_suggest_groups">
+ <t t-foreach="widget.suggestions" t-as="result">
+ <div class="oe_suggested_groups">
+ <div class="oe_group_images">
+ <a t-attf-href="#model=mail.group&amp;id=#{result.id}">
+ <img class="oe_group_image_content" t-attf-src="{result.image}"/>
+ </a>
+ </div>
+ <div class="oe_group">
+ <a class="oe_group_name" t-attf-href="#model=mail.group&amp;id=#{result.id}">
+ <t t-esc="result.name"/>
+ </a>
+ <a href="#" class="oe_remove_suggested_group" rol="button" t-attf-id="{result.id}">
+ <span class="oe_kanban_action oe_kanban_action_a">X</span>
+ </a>
+ <br/>
+ <button type="button" t-att-id="result.id" class="oe_join_group">Join Group</button>
+ </div>
+ </div>
+ </t>
+ </div>
+ </div>
+
+
+</template>