浏览代码

If Unseen and Total is selected in Folder Preference, display the message counts regardless of how many unseen messages there are. This restores the old behavior of showing (0/15) after a folder name.

indiri69 19 年之前
父节点
当前提交
01410c50f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      templates/default/left_main.tpl

+ 1 - 1
templates/default/left_main.tpl

@@ -103,7 +103,7 @@ function buildMailboxTree ($box, $settings, $indent_factor=0) {
                             $box['CummulativeUnreadCount'] :
                             $box['UnreadCount'];
             
-            if ($unseen > 0) {
+            if ($unseen > 0 || $settings['unreadNotificationDisplayTotal']) {
                 $unseen_str = $unseen;
     
                 // Add the total messages if desired