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: color code the queue
Date Sat, 11 Apr 2020 23:25: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 dee74b8  color code the queue
dee74b8 is described below

commit dee74b8f3446f673cce0fee6157b268dd1e48d7b
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sat Apr 11 19:24:57 2020 -0400

    color code the queue
---
 www/board/agenda/views/pages/queue.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/views/pages/queue.js.rb b/www/board/agenda/views/pages/queue.js.rb
index cd7a0b2..54ec99e 100644
--- a/www/board/agenda/views/pages/queue.js.rb
+++ b/www/board/agenda/views/pages/queue.js.rb
@@ -82,7 +82,7 @@ class Queue < Vue
           pending.ready.each_with_index do |item, index|
             _span ', ' if index > 0
             _Link text: item.title, href: "queue/#{item.href}",
-              class: ('default' if index == 0)
+              class: item.color + (index == 0 ? ' default' : '')
           end
         end
       end


Mime
View raw message