summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/mail.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
-rw-r--r--addons/mail/static/src/xml/mail.xml25
1 files changed, 4 insertions, 21 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml
index bf29ada9f63..00c7cd1d3c6 100644
--- a/addons/mail/static/src/xml/mail.xml
+++ b/addons/mail/static/src/xml/mail.xml
@@ -16,7 +16,10 @@
<tr class="oe_header_row oe_header_row_top">
<td colspan="2">
<h2 class="oe_view_title">
- <span class="oe_view_title_text">All Feeds</span>
+ <span class="oe_view_title_text">
+ <t t-if="! widget.params.res_model">News Feeds</t>
+ <t t-if="widget.params.res_model" t-esc="widget.params.res_model"/>
+ </span>
</h2>
</td>
<td><div class="oe_view_manager_view_search" t-opentag="true"/></td>
@@ -58,29 +61,9 @@
<div class="oe_mail_recthread_main">
<!-- contains the document thread -->
</div>
- <div class="oe_mail_recthread_aside">
- <div class="oe_mail_recthread_actions">
- <button type="button" class="oe_mail_button_follow oe_mail_button_mouseout">Not following</button>
- <button type="button" class="oe_mail_button_unfollow oe_mail_button_mouseout">Following</button>
- <button type="button" class="oe_mail_button_followers">Show followers</button>
- </div>
- <div class="oe_mail_recthread_followers">
- <h4>Followers</h4>
- <ul class="oe_mail_followers_display"></ul>
- </div>
- </div>
</div>
<!--
- record_thread.subscriber template
- Template used to display a subscriber.
- -->
- <li t-name="mail.record_thread.subscriber">
- <img class="oe_mail_thumbnail oe_mail_frame" t-attf-src="{record.avatar_url}"/>
- <a t-attf-href="#model=res.users&amp;id=#{record.id}"><t t-raw="record.name"/></a>
- </li>
-
- <!--
mail.compose_message template
This template holds the composition form to write a note or send
an e-mail. It contains by default a textarea, that will be replaced