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.10.7 app/views/admin/accounts/show.html.erb
saucy-0.10.6 app/views/admin/accounts/show.html.erb
saucy-0.10.5 app/views/admin/accounts/show.html.erb
saucy-0.10.4 app/views/admin/accounts/show.html.erb
saucy-0.10.3 app/views/admin/accounts/show.html.erb
saucy-0.10.2 app/views/admin/accounts/show.html.erb
saucy-0.10.1 app/views/admin/accounts/show.html.erb