Inline format Condition rules text
This commit is contained in:
parent
75b94f69fa
commit
b4780ffb82
@ -269,7 +269,7 @@ class ShardsOfPower
|
|||||||
condition_ary = [{:text => condition.name, :font => "Lilith", :color => "004E6D", :size => FONT_SIZE_SUBSECTION}]
|
condition_ary = [{:text => condition.name, :font => "Lilith", :color => "004E6D", :size => FONT_SIZE_SUBSECTION}]
|
||||||
pdf.formatted_text condition_ary
|
pdf.formatted_text condition_ary
|
||||||
|
|
||||||
pdf.text condition.rules_text
|
pdf.text condition.rules_text, :inline_format => true
|
||||||
pdf.text "<b>Possible Sources:</b> #{condition.possible_sources}", :inline_format => true if condition.possible_sources
|
pdf.text "<b>Possible Sources:</b> #{condition.possible_sources}", :inline_format => true if condition.possible_sources
|
||||||
pdf.text "<b>Resolution:</b> #{condition.resolution}", :inline_format => true
|
pdf.text "<b>Resolution:</b> #{condition.resolution}", :inline_format => true
|
||||||
pdf.text "<b>Beat:</b> #{condition.beat}", :inline_format => true
|
pdf.text "<b>Beat:</b> #{condition.beat}", :inline_format => true
|
||||||
|
Loading…
Reference in New Issue
Block a user