summaryrefslogtreecommitdiff
path: root/app/helpers/button_helper.rb
diff options
context:
space:
mode:
authorvictorwu <victor@gitlab.com>2016-12-09 15:48:23 -0600
committervictorwu <victor@gitlab.com>2016-12-12 13:16:52 -0600
commit569645a809d042fb7a69d5c95ad65fe6983c2f75 (patch)
tree50795ba8ff5b12594ca7f64f3f128b1bbc73d345 /app/helpers/button_helper.rb
parentb544ec8670f8a14d205fa0b13e8ca37fad795686 (diff)
downloadgitlab-ce-569645a809d042fb7a69d5c95ad65fe6983c2f75.tar.gz
Clean up commit copy to clipboard and make consistent
Diffstat (limited to 'app/helpers/button_helper.rb')
-rw-r--r--app/helpers/button_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb
index dee3c78df47..4c7c16d694c 100644
--- a/app/helpers/button_helper.rb
+++ b/app/helpers/button_helper.rb
@@ -16,7 +16,7 @@ module ButtonHelper
# See http://clipboardjs.com/#usage
def clipboard_button(data = {})
css_class = data[:class] || 'btn-clipboard btn-transparent'
- title = data[:title] || 'Copy to Clipboard'
+ title = data[:title] || 'Copy to clipboard'
data = { toggle: 'tooltip', placement: 'bottom', container: 'body' }.merge(data)
content_tag :button,
icon('clipboard'),