snappymail/snappymail/v/0.0.0/app/templates/Views/User/SettingsFolders.html
2022-09-27 09:46:49 +02:00

42 lines
1.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="legend">
<span data-i18n="SETTINGS_FOLDERS/LEGEND_FOLDERS"></span>
&nbsp;&nbsp;&nbsp;
<i class="icon-spinner" style="margin-top: 5px" data-bind="visible: loading"></i>
</div>
<div style="margin-bottom:20px;" data-bind="component: {
name: 'Checkbox',
params: {
label: 'SETTINGS_FOLDERS/HIDE_UNSUBSCRIBED',
value: hideUnsubscribed
}
}"></div>
<!-- ko if: showKolab -->
<div style="margin-bottom:20px;" data-bind="component: {
name: 'Checkbox',
params: {
label: 'SETTINGS_FOLDERS/UNHIDE_KOLAB_FOLDERS',
value: unhideKolabFolders
}
}"></div>
<!-- /ko -->
<a class="btn" data-bind="click: createFolder">
<i class="icon-folder-add"></i>
<span data-i18n="SETTINGS_FOLDERS/BUTTON_CREATE"></span>
</a>
&nbsp;&nbsp;
<a class="btn" data-bind="click: systemFolder" data-icon="🔧" data-i18n="SETTINGS_FOLDERS/BUTTON_SYSTEM"></a>
<div class="alert folders-list-error" data-bind="visible: folderListOptimized">
<b data-i18n="SETTINGS_FOLDERS/TO_MANY_FOLDERS_DESC_1"></b>
<br>
<span data-i18n="SETTINGS_FOLDERS/TO_MANY_FOLDERS_DESC_2"></span>
</div>
<div class="alert folders-list-error" data-bind="visible: '' !== folderListError()">
<a href="#" class="close" data-bind="click: function () { folderListError(''); }">×</a>
<span data-bind="text: folderListError"></span>
</div>
<table class="table table-hover list-table" data-bind="i18nUpdate: folderList">
<tbody data-bind="template: { name: 'SettingsFolderItem', foreach: folderList }"></tbody>
</table>