Sha256: 5335e59e2ec16c42b4de3e9300afbcd3dd8f5c9da82ec19c1b4992729c617823
Contents?: true
Size: 455 Bytes
Versions: 2
Compression:
Stored size: 455 Bytes
Contents
<% admin_user.applications.each do |app| %> <table> <thead> <tr> <th><%= Typus::I18n.t(app) %></th> </tr> </thead> <% admin_user.application(app).map { |i| i.constantize }.each do |klass| %> <tr class="<%= cycle("even", "odd") %>"> <td> <%= link_to klass.model_name.human.pluralize, :controller => "/admin/#{klass.to_resource}" %> </td> </tr> <% end %> </table> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typus-3.1.0.rc14 | app/views/admin/dashboard/_applications.html.erb |
typus-3.1.0.rc13 | app/themes/default/views/admin/dashboard/_applications.html.erb |