Browse Source

Supress displaying subtask boards to avoid clutter

Justin Zhang 2 years ago
parent
commit
53e67ff57a
2 changed files with 6 additions and 5 deletions
  1. 2 1
      client/components/boards/boardsList.js
  2. 4 4
      imports/i18n/data/zh-CN.i18n.json

+ 2 - 1
client/components/boards/boardsList.js

@@ -152,7 +152,8 @@ BlazeComponent.extendComponent({
       $and: [
         { archived: false },
         { type: { $in: ['board', 'template-container'] } },
-        { $or: [] }
+        { $or: [] },
+        { title: { $not: { $regex: /^\^.*\^$/ } } }
       ]
     };
 

+ 4 - 4
imports/i18n/data/zh-CN.i18n.json

@@ -693,10 +693,10 @@
     "active": "活跃",
     "card-received": "已接收",
     "card-received-on": "接收于",
-    "card-end": "终止",
-    "card-end-on": "终止于",
+    "card-end": "结束",
+    "card-end-on": "结束于",
     "editCardReceivedDatePopup-title": "修改接收日期",
-    "editCardEndDatePopup-title": "修改终止日期",
+    "editCardEndDatePopup-title": "修改结束日期",
     "setCardColorPopup-title": "设置颜色",
     "setCardActionsColorPopup-title": "选择一种颜色",
     "setSwimlaneColorPopup-title": "选择一种颜色",
@@ -1195,4 +1195,4 @@
     "register": "注册",
     "forgot-password": "忘记密码",
     "minicardDetailsActionsPopup-title": "卡片详情"
-}
+}