diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-06-11 21:37:22 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-06-11 21:37:22 -0400 |
commit | 15a3a15a549853ac0d7c3f1e81a10f9badb9069a (patch) | |
tree | 552ca2da080356f6583aaca65353c32529ddc0f4 /lib/sisu/v2/xml_tables.rb | |
parent | css (for html), right pane dark, distinguish from selected content (diff) |
minor (cosmetic, & info retention)
Diffstat (limited to 'lib/sisu/v2/xml_tables.rb')
-rw-r--r-- | lib/sisu/v2/xml_tables.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/sisu/v2/xml_tables.rb b/lib/sisu/v2/xml_tables.rb index f5b2845c..71bcb37e 100644 --- a/lib/sisu/v2/xml_tables.rb +++ b/lib/sisu/v2/xml_tables.rb @@ -142,9 +142,7 @@ module SiSU_Tables #{tablefoot}} end def table_row(inf,h=false) - bold=if h; '<b>' - else '' - end + bold=h ? '<b>' : '' %{ <tr> <td width="#{inf}%" valign="top">#{bold}} @@ -155,9 +153,7 @@ module SiSU_Tables end end def table_row_close(h=false) - bold_close=if h; '</b>' - else '' - end + bold_close=h ? '<b>' : '' "#{bold_close}</td></tr>" end def table |