You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2016/05/05 13:16:42 UTC

[whimsy] 01/01: Nav arrows show corresponding status color

This is an automated email from the ASF dual-hosted git repository.

curcuru pushed a commit to branch ShaneCurcuru-patch-1
in repository https://git-dual.apache.org/repos/asf/whimsy.git

commit 4d76a65a9d9c97e19cd0623e8bf546f2a68e359e
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Thu May 5 09:16:35 2016 -0400

    Nav arrows show corresponding status color
    
    Also keep comments the same
---
 www/board/agenda/views/layout/footer.js.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/board/agenda/views/layout/footer.js.rb b/www/board/agenda/views/layout/footer.js.rb
index e4f9ad5..f51b773 100644
--- a/www/board/agenda/views/layout/footer.js.rb
+++ b/www/board/agenda/views/layout/footer.js.rb
@@ -58,7 +58,7 @@ class Footer < React
 
       if link
         _Link.backlink.navbar_brand text: link.title, rel: 'prev', 
-         href: "#{prefix}#{link.href}"
+         href: "#{prefix}#{link.href}", class: link.color
       elsif @@item.prev or @@item.next
         # without this, Chrome will sometimes make the footer too tall
         _a.navbar_brand
@@ -116,9 +116,9 @@ class Footer < React
       if link
         prefix = '' unless  link.attach =~ /^[A-Z]/
         _Link.nextlink.navbar_brand text: link.title, rel: 'next', 
-         href: "#{prefix}#{link.href}"
+         href: "#{prefix}#{link.href}", class: link.color
       elsif @@item.prev or @@item.next
-        # keep Chrome happy
+        # without this, Chrome will sometimes make the footer too tall
         _a.nextarea.navbar_brand
       end
     end

-- 
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.