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/24 14:00:59 UTC

[whimsy] branch master updated: once meeting starts, consider missing reports and reports without sufficient preapprovals as flagged

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 59cc400  once meeting starts, consider missing reports and reports without sufficient preapprovals as flagged
59cc400 is described below

commit 59cc400ca7172a5c30f4c27b02cfe6a869b5f79b
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Apr 24 10:00:15 2018 -0400

    once meeting starts, consider missing reports and reports without
    sufficient preapprovals as flagged
---
 www/board/agenda/views/pages/flagged.js.rb | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/www/board/agenda/views/pages/flagged.js.rb b/www/board/agenda/views/pages/flagged.js.rb
index a5cf73d..06d814d 100644
--- a/www/board/agenda/views/pages/flagged.js.rb
+++ b/www/board/agenda/views/pages/flagged.js.rb
@@ -7,7 +7,13 @@ class Flagged < Vue
     first = true
 
     Agenda.index.each do |item|
-      if item.flagged_by or Pending.flagged.include? item.attach
+      flagged = item.flagged_by or Pending.flagged.include? item.attach
+
+      if not flagged and Minutes.started and item.attach =~ /^(\d+|[A-Z]+)$/
+        flagged = !item.skippable
+      end
+
+      if flagged
         _h3 class: item.color do
           _Link text: item.title, href: "flagged/#{item.href}",
             class: ('default' if first)
@@ -16,7 +22,7 @@ class Flagged < Vue
           _span.owner " [#{item.owner} / #{item.shepherd}]"
 
           flagged_by = Server.directors[item.flagged_by] || item.flagged_by
-          _span.owner " flagged by: #{flagged_by}"
+          _span.owner " flagged by: #{flagged_by}" if flagged_by
         end
 
         _AdditionalInfo item: item, prefix: true

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