Sha256: f1ec11f76b1fd542dbb2064994694de177f3cc6ec67b9235e95b32d634089f9e

Contents?: true

Size: 1.74 KB

Versions: 16

Compression:

Stored size: 1.74 KB

Contents

<h2>Accounts not passing sanity checks</h2>
<table class="table table-condensed table-striped data-table right-aligned">
  <thead>
    <tr>
      <th>Check</th>
      <th>Account id</th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% @sanity.check_entitlement.each do |account_id| %>
      <tr class="error">
        <td>Entitlement</td>
        <td><%= link_to account_id, account_path(account_id) %></td>
        <td><%= button_to "Refresh!", { :action => "refresh_account", :account_id => account_id } %></td>
      </tr>
    <% end %>
    <% @sanity.check_invoice.each do |account_id| %>
      <tr class="error">
        <td>Invoice</td>
        <td><%= link_to account_id, account_path(account_id) %></td>
        <td><%= button_to "Refresh!", { :action => "refresh_account", :account_id => account_id } %></td>
      </tr>
    <% end %>
    <% @sanity.check_payment.each do |account_id| %>
      <tr class="error">
        <td>Payment</td>
        <td><%= link_to account_id, account_path(account_id) %></td>
        <td><%= button_to "Refresh!", { :action => "refresh_account", :account_id => account_id } %></td>
      </tr>
    <% end %>
    <% @sanity.check_tag.each do |account_id| %>
      <tr class="error">
        <td>Tag</td>
        <td><%= link_to account_id, account_path(account_id) %></td>
        <td><%= button_to "Refresh!", { :action => "refresh_account", :account_id => account_id } %></td>
      </tr>
    <% end %>
    <% @sanity.check_consistency.each do |account_id| %>
      <tr class="error">
        <td>Consistency</td>
        <td><%= link_to account_id, account_path(account_id) %></td>
        <td><%= button_to "Refresh!", { :action => "refresh_account", :account_id => account_id } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
kaui-0.4.7 app/views/kaui/analytics/sanity.html.erb
kaui-0.4.6 app/views/kaui/analytics/sanity.html.erb
kaui-0.4.5 app/views/kaui/analytics/sanity.html.erb
kaui-0.4.4 app/views/kaui/analytics/sanity.html.erb
kaui-0.4.3 app/views/kaui/analytics/sanity.html.erb
kaui-0.4.2 app/views/kaui/analytics/sanity.html.erb
kaui-0.4.1 app/views/kaui/analytics/sanity.html.erb
kaui-0.4.0 app/views/kaui/analytics/sanity.html.erb
kaui-0.3.1 app/views/kaui/analytics/sanity.html.erb
kaui-0.3.0 app/views/kaui/analytics/sanity.html.erb
kaui-0.2.6 app/views/kaui/analytics/sanity.html.erb
kaui-0.2.5 app/views/kaui/analytics/sanity.html.erb
kaui-0.2.4 app/views/kaui/analytics/sanity.html.erb
kaui-0.2.3 app/views/kaui/analytics/sanity.html.erb
kaui-0.2.2 app/views/kaui/analytics/sanity.html.erb
kaui-0.2.1 app/views/kaui/analytics/sanity.html.erb