whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: use color to show action item status
Date Thu, 26 Apr 2018 14:37:20 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 7c7e88f  use color to show action item status
7c7e88f is described below

commit 7c7e88f5602105c14d9dbbff2e0bb4294dbae384
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Thu Apr 26 10:36:56 2018 -0400

    use color to show action item status
---
 www/board/agenda/views/models/agenda.js.rb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/www/board/agenda/views/models/agenda.js.rb b/www/board/agenda/views/models/agenda.js.rb
index 3fcbe3f..5679a61 100644
--- a/www/board/agenda/views/models/agenda.js.rb
+++ b/www/board/agenda/views/models/agenda.js.rb
@@ -541,6 +541,14 @@ class Agenda
       else
         'reviewed'
       end
+    elsif self.title == 'Action Items'
+      if self.actions.empty?
+        'missing'
+      elsif self.actions.any? {|action| action.status.empty?}
+        'ready'
+      else
+        'reviewed'
+      end
     elsif @text or @report
       'available'
     elsif @text === undefined

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.

Mime
View raw message