mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Cleaner accounts list in systemdropdown
This commit is contained in:
parent
c9b1098236
commit
b374023ddb
2 changed files with 5 additions and 6 deletions
|
|
@ -52,6 +52,7 @@ class Sync
|
|||
]);
|
||||
|
||||
$fi = 0;
|
||||
\ignore_user_abort(true);
|
||||
foreach ($aSourceFolders as $sSourceFolderName => $oImapFolder) {
|
||||
++$fi;
|
||||
\SnappyMail\HTTP\Stream::JSON([
|
||||
|
|
|
|||
|
|
@ -17,12 +17,10 @@
|
|||
<menu class="dropdown-menu right-edge" tabindex="-1" role="menu" aria-labelledby="top-system-dropdown-id">
|
||||
|
||||
<!-- ko foreach: accounts -->
|
||||
<li role="presentation">
|
||||
<a class="account-item" href="#" data-bind="click: $root.accountClick">
|
||||
<i class="fontastic" data-bind="text: $root.accountEmail() === email ? '✔' : '👤'"></i>
|
||||
<span class="email-title" data-bind="text: name || email, attr: {title: email, 'data-unread': unreadEmails}"></span>
|
||||
</a>
|
||||
</li>
|
||||
<li role="presentation">
|
||||
<a class="email-title" href="#" data-bind="click: $root.accountClick, text: name || email,
|
||||
attr: {title: email, 'data-unread': unreadEmails, 'data-icon': $root.accountEmail() === email ? '✔' : '👤'}"></a>
|
||||
</li>
|
||||
<!-- /ko -->
|
||||
|
||||
<li class="dividerbar" role="presentation" data-bind="visible: allowAccounts">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue