diff options
author | Phil Hughes <me@iamphill.com> | 2016-05-24 14:00:49 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-08 10:10:18 +0100 |
commit | 79b375e17876105cefcbc5c451e785aceedb0002 (patch) | |
tree | 2657df2fda515bf8cbc943afb76cf20f212657f4 /app/helpers/button_helper.rb | |
parent | 8827eea8643bba95571edf2ea0f769b18e8369c2 (diff) | |
download | gitlab-ce-79b375e17876105cefcbc5c451e785aceedb0002.tar.gz |
Updated some commit UI colors
Fixed issue with tree view styles
Diffstat (limited to 'app/helpers/button_helper.rb')
-rw-r--r-- | app/helpers/button_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb index f742922d926..bf5505125ab 100644 --- a/app/helpers/button_helper.rb +++ b/app/helpers/button_helper.rb @@ -14,10 +14,10 @@ module ButtonHelper # # => "<button class='...' data-clipboard-target='div#foo'>...</button>" # # See http://clipboardjs.com/#usage - def clipboard_button(data = {}) + def clipboard_button(data = {}, css_class: 'btn-clipboard') content_tag :button, icon('clipboard'), - class: 'btn btn-clipboard', + class: "btn #{css_class}", data: data, type: :button end |