Remove the old "move to folder" behaviour option

This commit is contained in:
the-djmaze 2022-09-29 10:08:45 +02:00
parent 456f304338
commit 2651b6fd93
34 changed files with 8 additions and 79 deletions

View file

@ -39,7 +39,6 @@ attachment_size_limit = 2
[interface]
show_attachment_thumbnail = On
new_move_to_folder_button = On
[contacts]
; Enable contacts

View file

@ -35,7 +35,7 @@ export class AdminSettingsGeneral extends AbstractViewSettings {
this.theme = ThemeStore.theme;
this.themes = ThemeStore.themes;
this.addSettings(['AllowLanguagesOnSettings','NewMoveToFolder']);
this.addSettings(['AllowLanguagesOnSettings']);
addObservablesTo(this, {
attachmentLimitTrigger: SaveSettingStatus.Idle,

View file

@ -143,7 +143,6 @@ html.rl-side-preview-pane {
}
#top-system-dropdown-id::after,
#move-dropdown-id.dropdown-toggle::after,
#button-add-prop-dropdown-id::after {
content: '▼';
font-size: 80%;

View file

@ -5,14 +5,14 @@ import { Scope } from 'Common/Enums';
import { ComposeType, FolderType, MessageSetAction } from 'Common/EnumsUser';
import { leftPanelDisabled, moveAction,
Settings, SettingsCapa, SettingsGet,
Settings, SettingsCapa,
addEventsListeners,
addShortcut, registerShortcut, formFieldFocused
} from 'Common/Globals';
import { computedPaginatorHelper, showMessageComposer, populateMessageBody } from 'Common/UtilsUser';
import { FileInfo } from 'Common/File';
import { folderListOptionsBuilder, moveMessagesToFolder } from 'Common/Folders';
import { moveMessagesToFolder } from 'Common/Folders';
import { isFullscreen, toggleFullscreen } from 'Common/Fullscreen';
import { mailBox, serverRequest } from 'Common/Links';
@ -70,8 +70,6 @@ export class MailMessageList extends AbstractViewRight {
constructor() {
super();
this.newMoveToFolder = !!SettingsGet('NewMoveToFolder');
this.allowDangerousActions = SettingsCapa('DangerousActions');
this.messageList = MessagelistUserStore;
@ -91,7 +89,6 @@ export class MailMessageList extends AbstractViewRight {
this.userUsageProc = FolderUserStore.quotaPercentage;
this.addObservables({
moveDropdownTrigger: false,
moreDropdownTrigger: false,
sortDropdownTrigger: false,
@ -107,13 +104,6 @@ export class MailMessageList extends AbstractViewRight {
sortSupported: () =>
FolderUserStore.hasCapability('SORT') | FolderUserStore.hasCapability('ESORT'),
folderMenuForMove: () =>
folderListOptionsBuilder(
[FolderUserStore.currentFolderFullName()],
[],
item => item ? item.localName() : ''
),
messageListSearchDesc: () => {
const value = MessagelistUserStore().Search;
return value ? i18n('MESSAGE_LIST/SEARCH_RESULT_FOR', { SEARCH: value }) : ''
@ -233,7 +223,6 @@ export class MailMessageList extends AbstractViewRight {
spamCommand: canBeMovedHelper,
notSpamCommand: canBeMovedHelper,
moveCommand: canBeMovedHelper,
moveNewCommand: canBeMovedHelper,
});
}
@ -283,10 +272,8 @@ export class MailMessageList extends AbstractViewRight {
moveMessagesToFolderType(FolderType.NotSpam);
}
moveCommand() {}
moveNewCommand(vm, event) {
if (this.newMoveToFolder && this.mobileCheckedStateShow()) {
moveCommand(vm, event) {
if (this.mobileCheckedStateShow()) {
if (vm && event?.preventDefault) {
event.preventDefault();
event.stopPropagation();
@ -669,12 +656,7 @@ export class MailMessageList extends AbstractViewRight {
// move
registerShortcut('insert', '', Scope.MessageList, () => {
if (this.newMoveToFolder) {
this.moveNewCommand();
} else {
this.moveDropdownTrigger(true);
}
this.moveCommand();
return false;
});

View file

@ -711,7 +711,6 @@ class Actions
'Plugins' => array(),
'System' => $this->AppDataSystem($bAdmin),
'NewMoveToFolder' => (bool) $oConfig->Get('interface', 'new_move_to_folder_button', true),
'AllowLanguagesOnSettings' => (bool) $oConfig->Get('webmail', 'allow_languages_on_settings', true),
'AllowLanguagesOnLogin' => (bool) $oConfig->Get('login', 'allow_languages_on_login', true),
'AttachmentLimit' => \min($upload_max_filesize, ((int) $oConfig->Get('webmail', 'attachment_size_limit', 10)) * 1024 * 1024),

View file

@ -74,8 +74,6 @@ class ActionsAdmin extends Actions
$this->setConfigFromParams($oConfig, 'UseLocalProxyForExternalImages', 'labs', 'use_local_proxy_for_external_images', 'bool');
$this->setConfigFromParams($oConfig, 'NewMoveToFolder', 'interface', 'new_move_to_folder_button', 'bool');
$this->setConfigFromParams($oConfig, 'AllowLanguagesOnSettings', 'webmail', 'allow_languages_on_settings', 'bool');
$this->setConfigFromParams($oConfig, 'AllowLanguagesOnLogin', 'login', 'allow_languages_on_login', 'bool');
$this->setConfigFromParams($oConfig, 'AttachmentLimit', 'webmail', 'attachment_size_limit', 'int');

View file

@ -149,8 +149,7 @@ class Application extends \RainLoop\Config\AbstractConfig
),
'interface' => array(
'show_attachment_thumbnail' => array(true),
'new_move_to_folder_button' => array(true)
'show_attachment_thumbnail' => array(true)
),
'contacts' => array(

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Povolit výběr jazyka na přihlašovací obrazovce",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Povolit výběr motivu na přihlašovací obrazovce",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Povolit výběr pozadí na přihlašovací obrazovce",
"LABEL_NEW_FOLDER_MOVE": "Nové tlačítko \"přesunout do adresáře\"",
"LABEL_SHOW_THUMBNAILS": "Zobrazovat miniatury (přílohy)",
"LEGEND_MAIN": "Hlavní",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Limit velikosti přílohy",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Tillad sprogvalg i indstillinger",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Tillad temavalg i indstillinger",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Tillad baggrundsvalg i indstillinger",
"LABEL_NEW_FOLDER_MOVE": "Ny \"flyt til mappe\" knap",
"LABEL_SHOW_THUMBNAILS": "Vis miniaturer (vedhæftede filer)",
"LEGEND_MAIN": "Primære",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Vedhæftede filers størrelsesgrænse",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Sprachauswahl in den Einstellungen zulassen",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Themenauswahl in den Einstellungen zulassen",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Hintergrundauswahl in den Einstellungen zulassen",
"LABEL_NEW_FOLDER_MOVE": "Neue \"Verschieben nach\"-Schaltfläche",
"LABEL_SHOW_THUMBNAILS": "Vorschaubilder anzeigen (Anhänge)",
"LEGEND_MAIN": "Allgemein",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Größenlimit für Anhänge",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Allow language selection on settings screen",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Allow theme selection on settings screen",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Allow background selection on settings screen",
"LABEL_NEW_FOLDER_MOVE": "New \"move to folder\" button",
"LABEL_SHOW_THUMBNAILS": "Show thumbnails (attachments)",
"LEGEND_MAIN": "Main",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Attachment size limit",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Permitir selección del idioma",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Permitir personalización de la interfaz",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Permitir cambiar el fondo de pantalla",
"LABEL_NEW_FOLDER_MOVE": "Nuevo botón \"mover a carpeta\"",
"LABEL_SHOW_THUMBNAILS": "Mostrar previsualización (adjuntos)",
"LEGEND_MAIN": "Principal",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Tamaño máximo para adjuntos",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "زبان در صفحه تنظیمات قابل انتخاب باشد",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "پوسته در صفحه تنظیمات قابل انتخاب باشد",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "تصویر پشت زمینه در صفحه تنظیمات قابل انتخاب باشد",
"LABEL_NEW_FOLDER_MOVE": "دکمه جدید «انتقال به پوشه»",
"LABEL_SHOW_THUMBNAILS": "اندازه کوچک را نشان بده (پیوست‌ها)",
"LEGEND_MAIN": "اصلی",
"LABEL_ATTACHMENT_SIZE_LIMIT": "محدودیت اندازه پیوست",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Salli kielivalinta asetuksissa",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Salli teemavalinta asetuksissa",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Salli taustavalinta asetuksissa",
"LABEL_NEW_FOLDER_MOVE": "New \"move to folder\" button",
"LABEL_SHOW_THUMBNAILS": "Näytä kuvakkeet (liitteet)",
"LEGEND_MAIN": "Yleiset",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Liitetiedoston kokorajoitus",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Permettre la sélection de la langue dans les paramètres",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Permettre la sélection du thème dans les paramètres",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Permettre la sélection de l'arrière-plan dans les paramètres",
"LABEL_NEW_FOLDER_MOVE": "Nouveau bouton \"déplacer vers le dossier\"",
"LABEL_SHOW_THUMBNAILS": "Montrer les miniatures (pièces jointes)",
"LEGEND_MAIN": "Principal",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Taille limite des pièces jointes",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Nyelv választás engedélyezés a beállításoknál",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Téma választás engedélyezés a beállításoknál",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Háttér választás engedélyezés a beállításoknál",
"LABEL_NEW_FOLDER_MOVE": "Új \"áthelyezés mappába\" gomb",
"LABEL_SHOW_THUMBNAILS": "Előnézetek megjelenítése (mellékletek)",
"LEGEND_MAIN": "Fontos",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Melléklet méret korlát",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Izinkan pemilihan bahasa pada laman pengaturan",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Izinkan pemilihan tema di laman pengaturan",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Izinkan pemilihan gambar latar di laman pengaturan",
"LABEL_NEW_FOLDER_MOVE": "Tombol \"pindahkan ke folder\" baru",
"LABEL_SHOW_THUMBNAILS": "Tampikankan gambar kecil (lampiran)",
"LEGEND_MAIN": "Utama",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Batas ukuran lampiran",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Allow language selection on settings screen",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Allow theme selection on settings screen",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Allow background selection on settings screen",
"LABEL_NEW_FOLDER_MOVE": "New \"move to folder\" button",
"LABEL_SHOW_THUMBNAILS": "Show thumbnails (attachments)",
"LEGEND_MAIN": "Main",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Attachment size limit",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "設定画面で言語選択を使用する",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "設定画面でテーマ選択を使用する",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "設定画面で背景選択を使用する",
"LABEL_NEW_FOLDER_MOVE": "新しい\"フォルダへ移動\"ボタン",
"LABEL_SHOW_THUMBNAILS": "サムネイルを表示(添付ファイル)",
"LEGEND_MAIN": "メイン",
"LABEL_ATTACHMENT_SIZE_LIMIT": "添付サイズ制限",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Leisti kalbos keitimą nustatymuose",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Leisti temos keitimą nustatymuose",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Leisti keisti foną nustatymuose",
"LABEL_NEW_FOLDER_MOVE": "Naujas \"\"perkelti į katalogą\" mygtukas",
"LABEL_SHOW_THUMBNAILS": "Rodyti miniatiūrą (prisegtuko)",
"LEGEND_MAIN": "Pagrindinis",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Prisegtukų dydžio limitas",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "La brukere velge språk på oppsettsskjerm",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "La brukere velge tema på oppsettsskjerm",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "La brukere velge bakgrunn på oppsettsskjerm",
"LABEL_NEW_FOLDER_MOVE": "Ny «flytt til mappe»-knapp",
"LABEL_SHOW_THUMBNAILS": "Vis miniatyrer (vedlegg)",
"LEGEND_MAIN": "Hoved",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Maksimal størrelse på vedlegg",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Sta taalselectie toe in het instellingen scherm",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Sta thema selectie toe in het instellingen scherm",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Sta achtergrond selectie toe in het instellingen scherm",
"LABEL_NEW_FOLDER_MOVE": "Nieuwe \"verplaats naar map\" knop",
"LABEL_SHOW_THUMBNAILS": "Toon miniaturen (bijlage)",
"LEGEND_MAIN": "Diverse",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Maximale bijlage grootte",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Zezwól użytkownikowi na wybór języka",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Zezwól użytkownikowi na zmianę motywu",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Zezwól użytkownikowi na użycie własnego tła",
"LABEL_NEW_FOLDER_MOVE": "Nowy przycisk „przenieś do folderu”",
"LABEL_SHOW_THUMBNAILS": "Pokaż miniatury (załączniki)",
"LEGEND_MAIN": "Główne",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Maksymalny rozmiar załącznika",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Permitir escolha do idioma na tela de configurações",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Permitir escolha do tema na tela de configurações",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Permitir escolha de Imagem de Fundo na tela de configurações",
"LABEL_NEW_FOLDER_MOVE": "Novo botão \"Mover para pasta\"",
"LABEL_SHOW_THUMBNAILS": "Mostrar imagem miniatura (Anexos)",
"LEGEND_MAIN": "Principal",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Tamanho limite de anexo",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Permitir escolha do idioma nas definições",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Permitir personalização da interface nas definições",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Permitir alterar a imagem de fundo nas definições",
"LABEL_NEW_FOLDER_MOVE": "Novo botão \"mover para pasta\"",
"LABEL_SHOW_THUMBNAILS": "Mostrar miniaturas (anexos)",
"LEGEND_MAIN": "Prinicpal",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Tamanho limite dos anexos",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Permitir escolha do idioma nas definições",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Permitir personalização da interface nas definições",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Permitir alterar a imagem de fundo nas definições",
"LABEL_NEW_FOLDER_MOVE": "Novo botão \"mover para pasta\"",
"LABEL_SHOW_THUMBNAILS": "Mostrar miniaturas (anexos)",
"LEGEND_MAIN": "Prinicpal",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Tamanho limite dos anexos",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Разрешить выбор языка на экране настроек",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Разрешить выбор темы на экране настроек",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Allow background selection on settings screen",
"LABEL_NEW_FOLDER_MOVE": "Новая кнопка \"переместить в папку\"",
"LABEL_SHOW_THUMBNAILS": "Показывать миниатюры (для вложений)",
"LEGEND_MAIN": "Основное",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Предельный размер вложений",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Povoliť výber jazyka v nastaveniach",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Povoliť výber témy v nastaveniach",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Povoliť výber pozadia v nastaveniach",
"LABEL_NEW_FOLDER_MOVE": "New \"move to folder\" button",
"LABEL_SHOW_THUMBNAILS": "Zobraziť náhľady (prílohy)",
"LEGEND_MAIN": "Všeobecné",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Maximálna veľkosť prílohy",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Dovoli izbor jezika v nastavitvah",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Dovoli izbor teme v nastavitvah",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Dovoli izbor ozadja v nastavitvah",
"LABEL_NEW_FOLDER_MOVE": "Novi gumb \"Premakni v mapo\"",
"LABEL_SHOW_THUMBNAILS": "Pokaži predoglede (priloge)",
"LEGEND_MAIN": "Glavno",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Omejitev velikosti prilog",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Tillåt språkändringar på konfigurationspanelen ",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Tillåt tema val på konfigurationspanelen",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Tillåt bakgrundsändringar på konfigurationspanelen",
"LABEL_NEW_FOLDER_MOVE": "Ny \"Flytta mapp\" knapp",
"LABEL_SHOW_THUMBNAILS": "Visa miniatyrer (bilagor)",
"LEGEND_MAIN": "Huvud",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Bilagor storlek",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "Cho phép lựa chọn ngôn ngữ trên màn hình cài đặt",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "Cho phép lựa chọn phông nền trên màn hình cài đặt",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "Cho phép lựa chọn hình nền trên màn hình cài đặt ",
"LABEL_NEW_FOLDER_MOVE": "Nút \"chuyển đến thư mục\" mới",
"LABEL_SHOW_THUMBNAILS": "Hiển thị ảnh thu gọn (trong phần đính kèm)",
"LEGEND_MAIN": "Phần chính",
"LABEL_ATTACHMENT_SIZE_LIMIT": "Giới hạn dung lượng đính kèm",

View file

@ -37,7 +37,6 @@
"LABEL_ALLOW_LANGUAGES_ON_SETTINGS": "允许在设置界面中选择语言",
"LABEL_ALLOW_THEMES_ON_SETTINGS": "允许在设置界面中选择主题",
"LABEL_ALLOW_BACKGROUND_ON_SETTINGS": "允许在设置界面中选择背景",
"LABEL_NEW_FOLDER_MOVE": "使用新的“移动”按钮样式",
"LABEL_SHOW_THUMBNAILS": "显示缩略图(附件)",
"LEGEND_MAIN": "主要设置",
"LABEL_ATTACHMENT_SIZE_LIMIT": "附件大小限制",

View file

@ -66,13 +66,6 @@
value: capaUserBackground
}
}"></div>
<div data-bind="component: {
name: 'Checkbox',
params: {
label: 'TAB_GENERAL/LABEL_NEW_FOLDER_MOVE',
value: newMoveToFolder
}
}"></div>
</div>
</div>
<div class="control-group">

View file

@ -8,27 +8,12 @@
<a class="btn" data-bind="click: reload, visible: mobileCheckedStateHide()" data-i18n="[title]MESSAGE_LIST/BUTTON_RELOAD">
<i class="icon-spinner not-animated"></i>
</a>
<!-- ko if: !newMoveToFolder -->
<div class="btn-group dropdown hide-mobile" data-bind="registerBootstrapDropdown: true, openDropdownTrigger: moveDropdownTrigger">
<a id="move-dropdown-id" href="#" tabindex="-1" class="btn dropdown-toggle buttonMove" data-bind="command: moveCommand" data-i18n="[title]GLOBAL/MOVE_TO">
<i class="icon-copy visible-on-ctrl-btn"></i>
<i class="fontastic hidden-on-ctrl-btn">📁</i>
</a>
<menu class="dropdown-menu" role="menu" aria-labelledby="move-dropdown-id" role="menu" data-bind="foreach: folderMenuForMove">
<li role="presentation" data-bind="css: { 'disabled': disabled }, click: function (mdata, oEvent) { if (!disabled) $root.moveSelectedMessagesToFolder(id, oEvent && !!oEvent.ctrlKey); }">
<a href="#" tabindex="-1" data-bind="text: name"></a>
</li>
</menu>
</div>
<!-- /ko -->
<!-- ko if: newMoveToFolder -->
<div class="btn-group" data-bind="visible: mobileCheckedStateShow()">
<a id="move-dropdown-id" href="#" tabindex="-1" class="btn buttonMove" data-bind="command: moveNewCommand" data-i18n="[title]GLOBAL/MOVE_TO">
<a href="#" tabindex="-1" class="btn" data-bind="command: moveCommand" data-i18n="[title]GLOBAL/MOVE_TO">
<i class="icon-copy visible-on-ctrl-btn"></i>
<i class="fontastic hidden-on-ctrl-btn">📁</i>
</a>
</div>
<!-- /ko -->
<div class="btn-group" data-bind="visible: mobileCheckedStateShow()">
<a class="btn fontastic" data-bind="visible: archiveAllowed, command: archiveCommand" data-i18n="[title]GLOBAL/TO_ARCHIVE">🗄</a>
<a class="btn fontastic" data-bind="visible: canMarkAsSpam, command: spamCommand" data-i18n="[title]GLOBAL/SPAM"></a>