mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
More changes for #815
This commit is contained in:
parent
cfd9c11db6
commit
0e5ae38c58
2 changed files with 6 additions and 2 deletions
|
|
@ -818,10 +818,14 @@ export class MailMessageList extends AbstractViewRight {
|
||||||
showScreenPopup(AdvancedSearchPopupView, [MessagelistUserStore.mainSearch()]);
|
showScreenPopup(AdvancedSearchPopupView, [MessagelistUserStore.mainSearch()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
groupSearchClick(group) {
|
groupSearch(group) {
|
||||||
group.search && MessagelistUserStore.mainSearch(group.search);
|
group.search && MessagelistUserStore.mainSearch(group.search);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
groupCheck(group) {
|
||||||
|
group.messages.forEach(message => message.checked(!message.checked()));
|
||||||
|
}
|
||||||
|
|
||||||
quotaTooltip() {
|
quotaTooltip() {
|
||||||
return i18n('MESSAGE_LIST/QUOTA_SIZE', {
|
return i18n('MESSAGE_LIST/QUOTA_SIZE', {
|
||||||
SIZE: FileInfo.friendlySize(FolderUserStore.quotaUsage()),
|
SIZE: FileInfo.friendlySize(FolderUserStore.quotaUsage()),
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@
|
||||||
|
|
||||||
<!-- ko if: listGrouped -->
|
<!-- ko if: listGrouped -->
|
||||||
<div class="messageListPlace" data-bind="dragmessages: 1, i18nUpdate: groupedList, foreach: groupedList" draggable="true">
|
<div class="messageListPlace" data-bind="dragmessages: 1, i18nUpdate: groupedList, foreach: groupedList" draggable="true">
|
||||||
<div class="groupLabel" data-bind="text: label, click: $root.groupSearchClick" data-i18n="[title]GLOBAL/SEARCH"></div>
|
<div class="groupLabel" data-bind="text: label, click: $root.groupSearch" data-i18n="[title]GLOBAL/SEARCH"></div>
|
||||||
<!-- ko foreach: messages -->
|
<!-- ko foreach: messages -->
|
||||||
<div class="messageListItem" data-bind="css: lineAsCss()">
|
<div class="messageListItem" data-bind="css: lineAsCss()">
|
||||||
<div class="messageCheckbox">
|
<div class="messageCheckbox">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue