summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-05-24 14:00:49 +0100
committerPhil Hughes <me@iamphill.com>2016-06-08 10:10:18 +0100
commit79b375e17876105cefcbc5c451e785aceedb0002 (patch)
tree2657df2fda515bf8cbc943afb76cf20f212657f4 /app/helpers
parent8827eea8643bba95571edf2ea0f769b18e8369c2 (diff)
downloadgitlab-ce-79b375e17876105cefcbc5c451e785aceedb0002.tar.gz
Updated some commit UI colors
Fixed issue with tree view styles
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/button_helper.rb4
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