diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-22 06:08:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-22 06:08:25 +0300 |
commit | 8a902a9508717f7a107221b37d894e4682fc27c3 (patch) | |
tree | 9f01ce7ab957d48135fc87f87f3320d3fa9f38ab /app/helpers/icons_helper.rb | |
parent | 255fd0f72c842af763ecd85128491db4c281d73d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/icons_helper.rb')
-rw-r--r-- | app/helpers/icons_helper.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/helpers/icons_helper.rb b/app/helpers/icons_helper.rb index 9fe56efedca..a125260d2e0 100644 --- a/app/helpers/icons_helper.rb +++ b/app/helpers/icons_helper.rb @@ -89,15 +89,6 @@ module IconsHelper sprite_icon(name, css_class: css_class) end - def spinner(text = nil, visible = false) - css_class = ['loading'] - css_class << 'hide' unless visible - - content_tag :div, class: css_class.join(' ') do - icon('spinner spin') + text - end - end - def boolean_to_icon(value) if value sprite_icon('check', css_class: 'cgreen') |