Commit 085a93d4a513dd661d57f2a9a5141e2c6b5680a2
1 parent
6a73124d
Exists in
spb-stable
and in
2 other branches
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 | module IconsHelper | 1 | module IconsHelper |
2 | def boolean_to_icon(value) | 2 | def boolean_to_icon(value) |
3 | if value.to_s == "true" | 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 | else | 5 | else |
6 | content_tag :i, nil, class: 'icon-off clgray' | 6 | content_tag :i, nil, class: 'icon-off clgray' |
7 | end | 7 | end |