You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2018/04/26 14:37:20 UTC
[whimsy] branch master updated: use color to show action item status
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 <ru...@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.