Skip to content

Instantly share code, notes, and snippets.

View kekukeku's full-sized avatar

Kevin Kuo kekukeku

View GitHub Profile
Hello <p><%= @user.name %>! </p>
<br />
<p> The user <% = @ actor.user_name%> has cancelled the trade with you at <% = @time%> with order number <% = @ order.no%>. </ p>
<% if @recipient == @payer %>
<p> Your coins will be unlocked and returned to your wallet.</p>
<% end%>
<br />
<p> You can <% = link_to "click here", offer_order_url (@ offer.token, @ order.token)%> to view the trade details and communicate with each other.</p>
<br />
<p> Please note that OTCBTC will never ask your password and verification code in any way.</p>
Hello <p><%= @user.name %>! </p>
<br />
<p> Your order was canceled at <% = @time%> with order number <% = @ order.no%>, </ p>
<% if @recipient == @payer%>
<p> Your coins will be unlocked and returned to your wallet.</p>
<% end%>
<br />
<p> You can <% = link_to "click here", offer_order_url (@ offer.token, @ order.token)%> to check your order detail.</p>
<br />
<p> Please note that OTCBTC will never ask your password and verification code in any way.</p>
Hello <p><%= @user.name %>!</p>
<br />
<p> An offer you posted that expired at <% = @ offer.expired_at.to_s%> has been automatically retreated, however all undergoing trades are not affected.</p>
<br />
<p> You can <RTI ID = 0.0> <% = link_to "click here," offer_url (@ offer.token)%> to check offer details or you can click on the "one click to activate the offer" (with commission).</p>
<br />
<p> Please note that OTCBTC will never ask your password and verification code in any way.</p>
<p> Do not reply this automatically generated mail or sign back anything.</p>
<p> ----------------------------------------------- </p>
<p> Official Website: <a href="https://<%= ENV["APPLICATION_HOST"] %> "> https: // <% = ENV [" APPLICATION_HOST "]%> </a> </p >
<p>Hello <% = @user.name %>!</p>
<br />
<p> One of your posted offer is automatically retreated due to insufficient balance to accept new orders, however, all undergoing trades are not affected.</p>
<br />
<p> To repost it, please deposit the minimum amount for this offer.</p>
<br />
<p> You can check <% = link_to "Click here", offer_url (@ offer.token)%>.</p>
<br />
<p> Please note that OTCBTC will never ask your password and verification code in any way.</p>
<p> Do not reply this automatically generated mail or sign back anything.</p>
<div class="common-width">
<div class="container devise-box">
<div class="row">
<%= render "devise/left_description" %>
<div class="col-md-7">
<div class="right-input">
<h3>Forgot password?</h3>
<div class="input-area">
<%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
<%= f.input :email, autofocus: true, label: false, :placeholder => "E-mail" %>
<div class="common-width">
<div class="container devise-box">
<div class="row">
<%= render "devise/left_description" %>
<div class="col-md-7">
<div class="right-input">
<h3>Password Reset</h3>
<div class="input-area">
<%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
<%= f.input :reset_password_token, as: :hidden %>
<p>Hello <% = @user.name %>!</p>
<br />
<p> You have successfully deposit to OTCBTC account.</p>
<p> Deposit Amount: <% = @ deposit.amount.to_floored (@currency)%> <% = @currency%> </p>
<p> You can click <% = link_to "View Account", account_deposit_url (@currency)%> to review your deposit records.</p>
<br />
<p> If this action is done by your own, contact OTCBTC online customer service immediately.</p>
<br />
<p> Please note that OTCBTC will never ask your password and verification code in any way.</p>
<p> Do not reply this automatically generated mail or sign back anything.</p>