Sha256: 737b9f370539f3c2e539eb6d2dbb6324a3a9ecec2151029d49600206819b4052

Contents?: true

Size: 582 Bytes

Versions: 24

Compression:

Stored size: 582 Bytes

Contents

<% admin_user.applications.each do |app| %>

  <table>

    <thead>
      <tr>
        <th><%= Typus::I18n.t(app) %></th>
      </tr>
    </thead>

    <% admin_user.application(app).each do |model| %>

      <%
        klass = model.typus_constantize
        klass_human_name = klass.model_name.human.pluralize
        admin_items_path = { :controller => "/admin/#{klass.to_resource}" }
      %>

      <tr class="<%= cycle("even", "odd") %>">
        <td>
          <%= link_to klass_human_name, admin_items_path %>
        </td>
      </tr>

    <% end %>

  </table>

<% end %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
typus-3.0.11 app/views/admin/dashboard/_applications.html.erb
typus-3.0.11.rc5 app/views/admin/dashboard/_applications.html.erb
typus-3.1.0.rc11 app/themes/default/views/admin/dashboard/_applications.html.erb
typus-3.1.0.rc10 app/themes/default/views/admin/dashboard/_applications.html.erb
typus-3.0.11.rc4 app/views/admin/dashboard/_applications.html.erb
typus-3.1.0.rc9 app/themes/default/views/admin/dashboard/_applications.html.erb
typus-3.0.11.rc3 app/views/admin/dashboard/_applications.html.erb
typus-3.1.0.rc8 app/views/admin/dashboard/_applications.html.erb
typus-3.1.0.rc7 app/views/admin/dashboard/_applications.html.erb
typus-3.1.0.rc6 app/views/admin/dashboard/_applications.html.erb
typus-3.1.0.rc5 app/views/admin/dashboard/_applications.html.erb
typus-3.1.0.rc4 app/views/admin/dashboard/_applications.html.erb
typus-3.1.0.rc3 app/views/admin/dashboard/_applications.html.erb
typus-3.1.0.rc2 app/views/admin/dashboard/_applications.html.erb
typus-3.0.11.rc2 app/views/admin/dashboard/_applications.html.erb
typus-3.0.11.rc1 app/views/admin/dashboard/_applications.html.erb
typus-3.1.0.rc1 app/views/admin/dashboard/_applications.html.erb
typus-3.0.10 app/views/admin/dashboard/_applications.html.erb
typus-3.0.9 app/views/admin/dashboard/_applications.html.erb
typus-3.0.8 app/views/admin/helpers/dashboard/_applications.html.erb