diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 6380af4..573cb29 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -54,8 +54,8 @@ def from_link(message) contract = Contract.find_by_address(network.chain_id, message.from) name = contract ? "(#{contract.name})" : '' %( - #{network.name}:#{source_ea}
- #{network.name}:#{target_ua}#{name} + ↓ #{network.name}:#{source_ea}
+ ↓ #{network.name}:#{source_ua}#{name} ).html_safe else display = message.from @@ -75,8 +75,8 @@ def to_link(message) contract = Contract.find_by_address(network.chain_id, message.from) name = contract ? "(#{contract.name})" : '' %( - #{network.name}:#{target_ua}#{name}
- #{network.name}:#{target_ea} + ↓ #{network.name}:#{target_ua}#{name}
+ ↓ #{network.name}:#{target_ea} ).html_safe else display = message.to