Sha256: 2b15ca574ed26b7a35daa15165b724bb965be0eeaa90011d8fefdba58b773770
Contents?: true
Size: 1.16 KB
Versions: 5
Compression:
Stored size: 1.16 KB
Contents
<table class="transparent"> <tr> <th><%= I18n.translate('name_with_colon') %></th> <td><%= payment_method.plugin_name %></td> </tr> <% if payment_method.external_key.present? %> <tr> <th><%= I18n.translate('external_key_with_colon') %></th> <td><%= payment_method.external_key %></td> </tr> <% end %> <tr> <th><%= I18n.translate('payment_method_id') %></th> <td><%= payment_method.payment_method_id %></td> </tr> <% unless payment_method.plugin_info.blank? %> <% unless payment_method.plugin_info.external_payment_method_id.blank? %> <tr> <th><%= I18n.translate('external_id_with_colon') %></th> <td><%= payment_method.plugin_info.external_payment_method_id %></td> </tr> <% end %> <% (payment_method.plugin_info.properties || []).sort_by { |p| [p.key, p.value] }.each do |property| %> <% next if property.value.blank? %> <tr> <th><%= property.key %></th> <td><%= json?(property.value) ? "<pre>#{JSON.pretty_generate(JSON.parse(property.value))}</pre>".html_safe : property.value %></td> </tr> <% end %> <% end %> </table>
Version data entries
5 entries across 5 versions & 1 rubygems