diff options
| author | Valerie Pirenne <vpi@odoo.com> | 2015-04-29 17:32:49 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2015-05-21 12:10:25 +0200 |
| commit | c24332e6da68dbed28ea8ab4702a97c49860d374 (patch) | |
| tree | d4b4cd321b0a591ebcf11f2f3313d727ce8ec807 /addons/mail/static/src/xml/suggestions.xml | |
| parent | 946d245c2b73aa0d3ba1784626fd67e31a6c66a9 (diff) | |
[IMP][ADD] mail, various: timeline view.
This commit introduces a new view type, the timeline view. This view is
intended to display messages like the previous chatter. This is now a view
like the form or list view. Like other views it will be possible to have
custom templates for some specific needs, allowing customization.
[IMP] mail: the value tracking is modified. Previously messages were created
containing the modified values. Those values are now stored, using a new
model mail.tracking.value. The message body is dynamically build based on
the values. Tests have been updated.
This version is temporary. Indeed two main modifications will come in a short
future :
- the new design will improve the display
- the slack mode will change the way the Inbox and notifications are managed
All glory to the Hypnotoad.
Special thanks to Valerie Pirenne (vpi), Jerome Maes (jem) and Richat Mathot
(rim) that did not code but said a lot of things. Martin Trigaux (mat) did
nothing, a bit like for the slides modules, but he is busy sending emails.
Diffstat (limited to 'addons/mail/static/src/xml/suggestions.xml')
| -rw-r--r-- | addons/mail/static/src/xml/suggestions.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/addons/mail/static/src/xml/suggestions.xml b/addons/mail/static/src/xml/suggestions.xml index 7b550f43d0e..2104e96a891 100644 --- a/addons/mail/static/src/xml/suggestions.xml +++ b/addons/mail/static/src/xml/suggestions.xml @@ -2,18 +2,17 @@ <template> <!-- Groups placeholder in sidebar --> - <t t-extend="mail.wall.sidebar"> - <t t-jquery=".oe_mail_wall_sidebar" t-operation="append"> + <t t-extend="TimelineSidebar"> + <t t-jquery=".o_timeline_sidebar" t-operation="append"> <div class="oe_suggestions_groups"></div> </t> </t> - <!-- Suggested groups --> - <div t-name="mail.suggestions.groups" class="oe_sidebar_suggestion oe_suggestion_group"> + <div t-name="TimelineSuggestionGroups" class="oe_sidebar_suggestion oe_suggestion_group"> <div class="oe_suggest_title"> <i class="oe_suggestion_remove oe_suggestion_group fa fa-remove"/> - <h2>Suggested Groups</h2> + <span>Suggested Groups</span> </div> <div class="oe_suggest_items"> <t t-foreach="widget.groups" t-as="result"> @@ -27,12 +26,13 @@ <a class="oe_suggestion_item_name" t-attf-href="#model=mail.group&id=#{result.id}"><t t-esc="result.name"/></a> <i class="oe_suggestion_remove_item oe_suggestion_group fa fa-remove" t-att-id="result.id"/> <br/> - <button t-att-id="result.id" class="oe_suggestion_join">Join Group</button> + <div class="btn-group btn-group-sm"> + <button type="button" class="btn btn-default oe_suggestion_join" t-att-id="result.id">Join Group</button> + </div> </div> </div> </t> </div> </div> - -</template> +</template>
\ No newline at end of file |
