diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-06-11 22:06:53 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-06-11 22:06:53 -0400 |
commit | e4932393ec8cce24b7d3390d08a3dc0b5296c261 (patch) | |
tree | c3fc610766a7d211460a5ffba338f05e540605c7 /lib/sisu/v2/xml_tables.rb | |
parent | debian/changelog (2.4.3-1) (diff) | |
parent | debian/changelog (2.5.0-1) (diff) |
Merge branch 'upstream' into debian/sid
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 |