mirror of
https://github.com/neocities/neocities.git
synced 2025-08-02 07:41:52 +02:00
fix stats (i think)
This commit is contained in:
parent
4da6fe9da4
commit
963bb29d9d
2 changed files with 1 additions and 18 deletions
|
@ -75,23 +75,6 @@
|
|||
Cancelled: <strong><%= @stats[:cancelled_subscriptions] %></strong>
|
||||
</h3>
|
||||
|
||||
<!--
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>Status</th>
|
||||
<th>Amount</th>
|
||||
<th>Date Subscribed</th>
|
||||
</tr>
|
||||
<% @stats[:subscriptions].each do |sub| %>
|
||||
<tr>
|
||||
<td><%= sub[:status] %></td>
|
||||
<td><%= sub[:amount].nil? ? '$0.00' : format("$%.2f", sub[:amount]) %></td>
|
||||
<td><%= sub[:created_at].strftime('%Y %B') %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
||||
-->
|
||||
|
||||
<h2>Burn Rate</h2>
|
||||
<p>
|
||||
Approximate server expenses (burn rate): <strong><%= format("$%.2f", @stats[:expenses]) %>/mo</strong>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue