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/22 18:44:14 UTC

[whimsy] branch master updated: Make pending comments more visually apparent

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 703bd07  Make pending comments more visually apparent
703bd07 is described below

commit 703bd077232d1f4b475682e795b8e145ca05d6a8
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun Apr 22 14:43:56 2018 -0400

    Make pending comments more visually apparent
---
 www/board/agenda/views/elements/additional-info.js.rb | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/www/board/agenda/views/elements/additional-info.js.rb b/www/board/agenda/views/elements/additional-info.js.rb
index 8b6555c..c8cff0b 100644
--- a/www/board/agenda/views/elements/additional-info.js.rb
+++ b/www/board/agenda/views/elements/additional-info.js.rb
@@ -76,8 +76,10 @@ class AdditionalInfo < Vue
 
       # pending comments
       if @@item.pending
-        _h5 'Pending Comment', id: "#{@prefix}pending"
-        _pre.comment Flow.comment(@@item.pending, User.initials)
+        _div.comment.commented.clickable onClick: -> {Main.navigate 'queue'} do
+          _h5 'Pending Comment', id: "#{@prefix}pending"
+          _pre.commented Flow.comment(@@item.pending, User.initials)
+        end
       end
 
       # historical comments
@@ -139,8 +141,10 @@ class AdditionalInfo < Vue
     else
       # pending comments
       if @@item.pending
-        _h4 'Pending Comment', id: "#{@prefix}pending"
-        _pre.comment Flow.comment(@@item.pending, User.initials)
+        _div.comment.commented.clickable onClick: -> {Main.navigate 'queue'} do
+          _h5 'Pending Comment', id: "#{@prefix}pending"
+          _pre.commented Flow.comment(@@item.pending, User.initials)
+        end
       end
     end
   end

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