You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
973 B

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <template>
  3. <!--Inherit Sidebar and add All messages menu item after Starred -->
  4. <t t-extend="mail.chat.Sidebar">
  5. <t t-jquery="div[data-channel-id=channel_starred]" t-operation="after">
  6. <div
  7. t-attf-class="o_mail_chat_title_main o_mail_chat_channel_item #{(active_channel_id == 'channel_all') ? 'o_active': ''}"
  8. data-channel-id="channel_all"
  9. >
  10. <span class="o_channel_name mail_all">
  11. <i class="fa fa-database" />
  12. All messages
  13. </span>
  14. </div>
  15. </t>
  16. </t>
  17. <!--Add message about empty all messages page-->
  18. <t t-extend="mail.EmptyChannel">
  19. <t t-jquery="t:last-child" t-operation="after">
  20. <t t-if="options.channel_id==='channel_all'">
  21. <div class="o_thread_title">No messages</div>
  22. </t>
  23. </t>
  24. </t>
  25. </template>