whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curc...@apache.org
Subject [whimsy] 01/02: Allow pass-thru of style
Date Wed, 29 May 2019 16:36:34 GMT
This is an automated email from the ASF dual-hosted git repository.

curcuru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit 6c02bf5fbe5289eb49adda1f9b6fb39d3ce4ca79
Author: Shane Curcuru <asf@shanecurcuru.org>
AuthorDate: Wed May 29 12:36:09 2019 -0400

    Allow pass-thru of style
---
 lib/whimsy/asf/themes.rb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/whimsy/asf/themes.rb b/lib/whimsy/asf/themes.rb
index c3aef09..04cf36c 100644
--- a/lib/whimsy/asf/themes.rb
+++ b/lib/whimsy/asf/themes.rb
@@ -128,7 +128,8 @@ class Wunderbar::HtmlMarkup
       relatedtitle: 'Related Whimsy Links', 
       related: nil, 
       helpblock: nil,
-      breadcrumbs: nil
+      breadcrumbs: nil,
+      style: 'panel-info'
     )
     _whimsy_nav
     _div.content.container_fluid do
@@ -140,7 +141,7 @@ class Wunderbar::HtmlMarkup
       if helpblock or related
         _div.row do
           _div.col_md_8 do
-            _whimsy_panel subtitle, style: "panel-info" do
+            _whimsy_panel subtitle, style: style do
               if helpblock
                 helpblock.call
               else


Mime
View raw message