39 lines
1.6 KiB
XML
39 lines
1.6 KiB
XML
<?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_suggestion oe_sidebar_group">
|
|
<p class="oe_suggestion_display">
|
|
Suggested Groups
|
|
<a class="oe_remove_suggestion oe_remove_suggestion_groups" rol="button">
|
|
<span class="oe_kanban_action oe_kanban_action_a">X</span>
|
|
</a>
|
|
</p>
|
|
<div class="oe_suggest_groups">
|
|
<t t-foreach="widget.suggestions" t-as="result">
|
|
<div class="oe_suggested_item">
|
|
<div class="oe_item_image">
|
|
<img class="oe_item_image_content oe_open_group" t-attf-src="{result.image}" t-attf-id="{result.id}"/>
|
|
</div>
|
|
<div class="oe_item">
|
|
<a class="oe_item_name oe_open_group" t-attf-id="{result.id}">
|
|
<t t-esc="result.name"/>
|
|
</a>
|
|
<a class="oe_remove_suggested_item 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 t-att-id="result.id" class="oe_suggestion_action oe_join_group">Join Group</button>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</template>
|