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 2019/05/29 16:36:34 UTC

[whimsy] 01/02: Allow pass-thru of style

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 <as...@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