Created
August 5, 2011 01:40
-
-
Save allenp/1126757 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2 class="page-title">Payment Result</h2> | |
<div class="main"> | |
<% if @viewdata.type.eql? 'change' %> | |
<div class="notice">Your plan was successfully changed <%= @viewdata.oldplan.blank? ? '' : 'from ' + @viewdata.oldplan + ' ' %> to <%= @viewdata.newplan.name %></div> | |
<% else if @viewdata.type.eql? 'new' %> | |
<div class="notice">You are now subscribed for the <span class="plan"> <%= @viewdata.newplan.name %></span> plan.</div> | |
<% end %> | |
<% end %> | |
<h3>Transaction Details</h3> | |
<table class="list"> | |
<tr><td>Plan</td><td><%= @viewdata.newplan.name %></td></tr> | |
<tr><td>Starts:</td><td>Now</td></tr> | |
<tr><td>Paid:</td><td>$<%= @viewdata.newplan.amount %></td></tr> | |
</table> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment