浏览代码

Don't display counts for boxes that can't be selected.

indiri69 19 年之前
父节点
当前提交
5e8b55d411
共有 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 || $settings['unreadNotificationDisplayTotal']) {
+            if (!$box['IsNoSelect'] && ($unseen > 0 || $settings['unreadNotificationDisplayTotal'])) {
                 $unseen_str = $unseen;
     
                 // Add the total messages if desired