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/30 02:21:39 UTC
[whimsy] branch master updated: once meeting has started,
link to flagged queue for flagged items
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 b11fcef once meeting has started, link to flagged queue for flagged items
b11fcef is described below
commit b11fcefdd3a011e96be460b0166853c8d6acad30
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun Apr 29 22:21:30 2018 -0400
once meeting has started, link to flagged queue for flagged items
---
www/board/agenda/views/pages/index.js.rb | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/www/board/agenda/views/pages/index.js.rb b/www/board/agenda/views/pages/index.js.rb
index 7fbed65..ebf7dce 100644
--- a/www/board/agenda/views/pages/index.js.rb
+++ b/www/board/agenda/views/pages/index.js.rb
@@ -17,9 +17,18 @@ class Index < Vue
end
_tbody Agenda.index do |row|
+ started = Minutes.started
+
_tr class: row.color do
_td row.attach
- _td { _Link text: row.title, href: row.href }
+
+ # once meeting has started, link to flagged queue for flagged items
+ if started and row.attach =~ /^(\d+|[A-Z]+)$/ and !row.skippable
+ _td { _Link text: row.title, href: 'flagged/' + row.href }
+ else
+ _td { _Link text: row.title, href: row.href }
+ end
+
_td row.owner
_td do
if row.shepherd
--
To stop receiving notification emails like this one, please contact
rubys@apache.org.