浏览代码

Bugfix, Cards Count on mobile view was missing

introduced by:
a601ba542aebefdfa8b5d683d22405ab3d5f8569
Martin Filser 1 年之前
父节点
当前提交
517d1bb7fa
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      client/components/lists/listHeader.jade

+ 2 - 0
client/components/lists/listHeader.jade

@@ -28,6 +28,8 @@ template(name="listHeader")
            | (
            | (
            span(class="{{#if exceededWipLimit}}highlight{{/if}}") {{cards.length}}
            span(class="{{#if exceededWipLimit}}highlight{{/if}}") {{cards.length}}
            |/#{wipLimit.value})
            |/#{wipLimit.value})
+        if showCardsCountForList cards.length
+          span.cardCount {{cardsCount}} {{cardsCountForListIsOne cards.length}}
       unless isMiniScreen
       unless isMiniScreen
         div(class="{{#if collapsed}}list-rotated{{/if}}")
         div(class="{{#if collapsed}}list-rotated{{/if}}")
           h2.list-header-name(
           h2.list-header-name(