Skip to content

Commit

Permalink
Added in link from payment view back to invoice.
Browse files Browse the repository at this point in the history
 * closes #60
  • Loading branch information
akinsey committed Jul 4, 2014
1 parent 41fc791 commit a575c30
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,13 @@ a:hover, a:active {
width: 300px;
margin: 0 auto;
}

.address-spacer-small {
margin: 10px 0;
}

.address-spacer {
margin: 40px 0;
margin: 40px 0px 0px 0px;
}

.invoice-data-width {
Expand Down
11 changes: 8 additions & 3 deletions views/pay.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
Invoice has been paid in full.
<% } %>
</span>
<a href="/invoices/<%= invoiceId %>">
View Invoice
</a>
</div>
</div>

Expand Down Expand Up @@ -103,6 +100,10 @@
</span>
<input type="text" spellcheck="false" onclick="this.select()" class="address-input form-control address-spacer" value="<%= address %>" />
<div>
<a class="small-text" href="/invoices/<%= invoiceId %>">
&#10094; Back to Invoice
</a>
<br />
<% if (!txid && isUSD) { %>
<span class="expiration-text red">Payment rate will refresh in <%= expires %>.</span>
<% } %>
Expand Down Expand Up @@ -163,6 +164,10 @@
<input type="text" spellcheck="false" onclick="this.select()" class="address-input form-control address-spacer" value="<%= address %>" />
</div>
<div>
<a class="small-text" href="/invoices/<%= invoiceId %>">
&#10094; Back to Invoice
</a>
<br />
<% if (!txid && isUSD) { %>
<span class="expiration-text red">Payment rate will refresh in <%= expires %>.</span>
<% } %>
Expand Down

0 comments on commit a575c30

Please sign in to comment.