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.

26 lines
1.0 KiB

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