Sha256: 998101f2e3a71bd01b6d421c45584524cc0819f74f3579367db25857ecb50fc5

Contents?: true

Size: 855 Bytes

Versions: 16

Compression:

Stored size: 855 Bytes

Contents

<% toolbar = toolbar_btn(icons(:new), dm_core.admin_account_new_path, title: 'New Site', class: "btn btn-link btn-icon") %>
<%= panel body: false, title: 'Account List', toolbar: toolbar do %>
  <table class="table table-striped table-bordered table-block">
    <thead>
      <tr>
        <th>Domain</th>
        <th style="width: 50px;">Prefix</th>
        <th style="width: 100px;">Status</th>
      </tr>
    </thead>
    <tbody>
      <% @accounts.each do |account| %>
        <tr>
          <td>
            <%= link_to account.domain, dm_core.admin_account_general_path(id: account) %>
          </td>
          <td><%= account.account_prefix %></td>
          <td><%= account.preferred_site_enabled? ? colored_label('Site Published', :success) : colored_label('Site Disabled') %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dm_core-4.2.3.10 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.3.9 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.3.8 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.3.7 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.3.6 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.3.5 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.3.4 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.3.3 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.3.2 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.3.1 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.3 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.2.3 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.2.2 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.2.1 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.2 app/views/dm_core/admin/system/show.html.erb
dm_core-4.2.1.5 app/views/dm_core/admin/system/show.html.erb