瀏覽代碼

Added date notification icons

helioguardabaxo 4 年之前
父節點
當前提交
4e23429cb8
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      client/components/notifications/notificationIcon.jade

+ 4 - 0
client/components/notifications/notificationIcon.jade

@@ -26,6 +26,10 @@ template(name='notificationIcon')
     i.fa.fa-code.activity-type(title="custom field")
     i.fa.fa-code.activity-type(title="custom field")
   else if($in activityType 'addedLabel' 'removedLabel')
   else if($in activityType 'addedLabel' 'removedLabel')
     i.fa.fa-tag.activity-type(title="label")
     i.fa.fa-tag.activity-type(title="label")
+  else if($in activityType 'a-startAt' 'a-receivedAt')
+    i.fa.fa-clock-o.activity-type(title="date")
+  else if($in activityType 'a-dueAt' 'a-endAt')
+    i.fa.fa-clock-o.activity-type(title="date")
 
 
   else if($in activityType 'createList' 'removeList' 'archivedList')
   else if($in activityType 'createList' 'removeList' 'archivedList')
     +listNotificationIcon
     +listNotificationIcon