View created.en.html.erb
<p><%= @user.user_name %>,您好!</p>
<br />
<p>您所进行中的交易订单 <%= link_to @order.no, offer_order_url(@offer.token, @order.token) %> 已被提出申诉。</p>
<p>请您尽快与对方联系、确认申诉原因,并 <%= link_to "点击这里", account_ticket_url(@ticket.token) %> 与客服沟通,OTCBTC 官方客服将会协助解决交易纠纷。</p>
<br />
<p>请注意 OTCBTC 绝不会以任何形式询问您的帐户密码和验证码。</p>
<p>本邮件由系统自动生成,无需授权签名,请勿直接回复本邮件。</p>
<p>-----------------------------------------------</p>
<p>官方网站:<a href="https://<%= ENV["APPLICATION_HOST"] %>">https://<%= ENV["APPLICATION_HOST"] %></a></p>
<p>邮箱服务:<a href="mailto:support@otcbtc.com">support@otcbtc.com</a></p>
View new.en.html.erb
<div class="row">
<div class="referrals-registrations">
<div class="referrals-registrations-image">
<div class="container">
<div class="row">
<div class="col-md-12">
<p class="text-center"></p>
</div>
</div>
</div>
View _for_payer.en.html.erb
<div class="order-reminder tips-text text-warning">
买家已标记付款完成,请确保收到款项之后再释放 <%= order.human_currency %>
</div>
View _identity_info.en.html.erb
<% if order.payee.verified_and_has_identity_info? %>
<% if order.payee?(user) %>
<% if order.payer.verified_advanced_verification_result.present? %>
<div class="payment-tips verification-info">
<span class="tips-text">
为确保资金安全,请买家使用已完成进阶验证的银行卡向卖家转账。对方进阶验证信息:<br>
姓名:<%= order.payer.passed_advanced_verification_info(:real_name) %>;开户行:<%= order.payer.passed_advanced_verification_info(:bank_name) %>;银行卡号:<%= order.payer.passed_advanced_verification_info(:bank_card_number).first(4) %>********<%= order.payer.passed_advanced_verification_info(:bank_card_number).last(4) %>
</span>
</div>
<% elsif order.payer.verified_and_has_identity_info? %>
View _advanced_verification_info.en.html.erb
<% if order.payee?(user) %>
<% if order.payer.verified_advanced_verification_result.present? %>
<div class="payment-tips verification-info">
<span class="tips-text">
为确保双方资金安全,请买家使用已完成进阶验证的银行卡向卖家转账。对方进阶验证信息:<br>
姓名:<%= order.payer.passed_advanced_verification_info(:real_name) %>;开户行:<%= order.payer.passed_advanced_verification_info(:bank_name) %>;银行卡号:<%= order.payer.passed_advanced_verification_info(:bank_card_number).first(4) %>********<%= order.payer.passed_advanced_verification_info(:bank_card_number).last(4) %>
</span>
</div>
<% end %>
<% end %>
View release_by_supervisor.en.html.erb
<p><%= @recipient.name %>,您好!</p>
<br />
<% if @recipient == @payer %>
<p>由于您超过 24 小时未对订单号 <%= @order.no %> 的交易做出回应,且 OTCBTC 已核实买家 <%= @payee.name %> 在此订单的转帐信息,系统已自动释放数字币给买家,完成交易。</p>
<% else %>
<p>由于卖家 <%= @payer.name %> 超过 24 小时未对订单号 <%= @order.no %> 的交易做出回应,且 OTCBTC 已核实您的转帐信息,系统已自动释放数字币到您的帐户中,完成交易。</p>
<% end %>
<% if @order.fee_payer?(@payee) %>
View release.en.html.erb
<p><%= @payee.name %>,您好!</p>
<br />
<p><%= @payer.name %> 已于 <%= @time %> 确认款项入帐,并释放数字货币,订单号为 <%= @order.no %>,</p>
<% if @order.fee_payer?(@payee) %>
<p>此笔订单的交易金额为 <%= @order.crypto_currency_amount.to_floored(@order.currency) %> - <%= @order.fee.to_floored(@order.currency) %> (交易手续费) = <%= (@order.crypto_currency_amount - @order.fee).to_floored(@order.currency) %> <%= @order.human_currency %> </p>
<% else %>
<p>此笔订单的交易金额为 <%= @order.crypto_currency_amount.to_floored(@order.currency) %> <%= @order.human_currency %> </p>
<% end %>
View notify_paid.en.html.erb
<p><%= @payer.email %>,您好!</p>
<br />
<p>买家 <%= @payee.user_name %> 已于 <%= @time %> 确认付款,订单号为 <%= @order.no %>,</p>
付款金额为: <%= render_floored_fiat_currency_amount(@order.fiat_currency_amount_with_random_decimal, @order.fiat_currency) %> <%= @order.human_fiat_currency %>
<% if @order.fee_payer?(@payer) %>
<p>此笔订单的交易金额为 <%= @order.crypto_currency_amount.to_floored(@order.currency) %> + <%= @order.fee.to_floored(@order.currency) %> (交易手续费) = <%= @order.paid_crypto_amount.to_floored(@order.currency) %> <%= @order.human_currency %> </p>
<% else %>
<p>此笔订单的交易金额为 <%= @order.crypto_currency_amount.to_floored(@order.currency) %> <%= @order.human_currency %>。 </p>
View notify_expired.en.html.erb
<p><%=@user.name %>,您好!</p>
<br />
<p>您有一笔交易订单因为逾时未处理,已于 <%= @time %> 由系统取消交易,订单号为 <%= @order.no %>,</p>
<% if @send_to_seller %>
<p>您的数字货币将解除锁定,并返还到您的钱包里。</p>
<% else %>
<p>若您仍想交易,请重新下单。</p>
<% end %>
<br />
<p>您可以 <%= link_to "点击这里", offer_order_url(@offer.token, @order.token) %> 查看交易详情。</p>
View create.en.html.erb
<p><%= @offer_owner.user_name %>,您好!</p>
<br />
<p>用户 <%= @offer_taker.user_name %><%= @order.created_at.to_s %> 向您发起交易请求,订单号为 <%= @order.no %>
<p>交易数量: <%= @order.crypto_currency_amount.to_floored(@order.currency) %> <%= @order.human_currency%></p>
<br />
<p>您可以 <%= link_to "点击这里", offer_order_url(@offer.token, @order.token) %> 查看交易详情,与对方进行沟通。</p>
<br />
<p>请注意 OTCBTC 绝不会以任何形式询问您的帐户密码和验证码。</p>
<p>本邮件由系统自动生成,无需授权签名,请勿直接回复本邮件。</p>
<p>-----------------------------------------------</p>