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.
19 lines
853 B
19 lines
853 B
<?xml version="1.0" encoding="UTF-8"?>
|
|
<template>
|
|
<!--Inherit Sidebar and add Archive menu item after Starred -->
|
|
<t t-extend="mail.chat.Sidebar">
|
|
<t t-jquery="div[data-channel-id=channel_starred]" t-operation="after">
|
|
<div t-attf-class="o_mail_chat_channel_item #{(active_channel_id == 'channel_archive') ? 'o_active': ''}" data-channel-id="channel_archive">
|
|
<span class="o_channel_name mail_archives"> <i class="fa fa-archive"/> Archive </span>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
<!--Add message about empty archive page-->
|
|
<t t-extend="mail.EmptyChannel">
|
|
<t t-jquery="t:last-child" t-operation="after">
|
|
<t t-if="options.channel_id==='channel_archive'">
|
|
<div class="o_thread_title">Archive is empty</div>
|
|
</t>
|
|
</t>
|
|
</t>
|
|
</template>
|