Sha256: 3d9f0750ef92c60c58998eed1f8b159d3793a5531b29c509ad211da1304278ac

Contents?: true

Size: 1.05 KB

Versions: 27

Compression:

Stored size: 1.05 KB

Contents

<h2>Account Detail</h2>

<table>
  <tr>
    <th>ID</th>
    <th>Account Name</th>
    <th>Plan</th>
    <th>Activated?</th>
    <th>Customer Token</th>
    <th>Subscription Token</th>
    <th>Creation Date</th>
  </tr>
  <%= render :partial => 'admin/accounts/account', :object => @account %>
</table>

<h3>Projects</h3>
<% unless @account.projects.empty? -%>
  <table>
    <tr>
      <th>ID</th>
      <th>Project Name</th>
      <th>Creation Date</th>
    </tr>
    <% @account.projects.each do |project| -%>
      <tr>
        <td><%= project.id %></td>
        <td><%= project.name %></td>
        <td><%= project.created_at %></td>
      </tr>
    <% end -%>
  </table>
<% else -%>
  <p><em>This account has no projects.</em></p>
<% end -%>

<h3>Users</h3>
<% unless @account.users.empty? -%>
  <table>
    <tr>
      <th>ID</th>
      <th>User Name</th>
      <th>Email</th>
      <th>Creation Date</th>
    </tr>
    <%= render :partial => 'admin/users/user', :collection => @account.users %>
  </table>
<% else -%>
  <p><em>This account has no users.</em></p>
<% end -%>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
saucy-0.14.3 app/views/admin/accounts/show.html.erb
saucy-0.10.10 app/views/admin/accounts/show.html.erb
saucy-0.14.2 app/views/admin/accounts/show.html.erb
saucy-0.14.1 app/views/admin/accounts/show.html.erb
saucy-0.14.0 app/views/admin/accounts/show.html.erb
saucy-0.13.3 app/views/admin/accounts/show.html.erb
saucy-0.13.2 app/views/admin/accounts/show.html.erb
saucy-0.10.9 app/views/admin/accounts/show.html.erb
saucy-0.10.8 app/views/admin/accounts/show.html.erb
saucy-0.13.1 app/views/admin/accounts/show.html.erb
saucy-0.13.0 app/views/admin/accounts/show.html.erb
saucy-0.12.5 app/views/admin/accounts/show.html.erb
saucy-0.12.4 app/views/admin/accounts/show.html.erb
saucy-0.12.3 app/views/admin/accounts/show.html.erb
saucy-0.12.2 app/views/admin/accounts/show.html.erb
saucy-0.12.1 app/views/admin/accounts/show.html.erb
saucy-0.12.0 app/views/admin/accounts/show.html.erb
saucy-0.11.5 app/views/admin/accounts/show.html.erb
saucy-0.11.3 app/views/admin/accounts/show.html.erb
saucy-0.11.2 app/views/admin/accounts/show.html.erb