Commit 085a93d4a513dd661d57f2a9a5141e2c6b5680a2

Authored by Dmitriy Zaporozhets
1 parent 6a73124d

Replace ok with circle for boolean icon

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/icons_helper.rb
1 1 module IconsHelper
2 2 def boolean_to_icon(value)
3 3 if value.to_s == "true"
4   - content_tag :i, nil, class: 'icon-ok cgreen'
  4 + content_tag :i, nil, class: 'icon-circle cgreen'
5 5 else
6 6 content_tag :i, nil, class: 'icon-off clgray'
7 7 end
... ...