Show More
@@ -977,10 +977,10 b' def bool2icon(value, show_at_false=True)' | |||
|
977 | 977 | """ |
|
978 | 978 | |
|
979 | 979 | if value: # does bool conversion |
|
980 | return HTML.tag('i', class_="icon-true") | |
|
980 | return HTML.tag('i', class_="icon-true", title='True') | |
|
981 | 981 | else: # not true as bool |
|
982 | 982 | if show_at_false: |
|
983 | return HTML.tag('i', class_="icon-false") | |
|
983 | return HTML.tag('i', class_="icon-false", title='False') | |
|
984 | 984 | return HTML.tag('i') |
|
985 | 985 | |
|
986 | 986 | #============================================================================== |
General Comments 0
You need to be logged in to leave comments.
Login now