|
@@ -8,8 +8,8 @@ def cleanup(s) |
|
|
s.sub!('Unknown', '') |
|
|
s.sub!('Unknown', '') |
|
|
s.sub!('Not Available', '') |
|
|
s.sub!('Not Available', '') |
|
|
s.sub!('Not Applicable', '') |
|
|
s.sub!('Not Applicable', '') |
|
|
# s = "<span class=grant>#{s}</span>" if s.match(/approve/i) |
|
|
|
|
|
# s = "<span class=refuse>#{s}</span>" if s.match(/refuse/i) |
|
|
|
|
|
|
|
|
s = "<span class=grant>#{s}</span>" if s.match(/(approve|grant)/i) |
|
|
|
|
|
s = "<span class=refuse>#{s}</span>" if s.match(/refuse/i) |
|
|
s |
|
|
s |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|