Trying to get dynamic helptext for selecting payment methods

This commit is contained in:
2013-01-25 22:30:05 -07:00
parent e9c648d36e
commit 8ab6fa10ea
10 changed files with 52 additions and 7 deletions

View File

@@ -1 +1,16 @@
<p>Welcome to the HeatSync Labs Members App.</p>
<h1>Welcome to the HeatSync Labs Members App.</h1>
<p>You can sign up to become a member here, but you'll need to visit the lab to get full access.</p>
<% if user_signed_in? && current_user.member.to_i < current_user.member_level.to_i then %>
<p class="alert">Looks like we haven't acknowledged a recent payment for you yet. This could be because we're slow, or this app just got started, but if in doubt please see your profile for payment instructions, or consider updating your membership level to something accurate.<br/>Thanks for supporting HeatSync!</p>
<% end %>
<h2>Cool Stats:</h2>
<dl>
<dt># of People in this DB:</dt>
<dd><%= @num_users %> (<%= @recent_users %> in the last 7 days)</dd>
<dt># of People Certified:</dt>
<dd><%= @num_certs %> (<%= @recent_certs %> in the last 7 days)</dd>
<dt># of Accesses Granted:</dt>
<dd><%= @num_door_opens %> (<%= @recent_door_opens %> in the last 7 days)</dd>
<dt># of Accesses Denied:</dt>
<dd><%= @num_door_denieds %> (<%= @recent_door_denieds %> in the last 7 days)</dd>
</dl>