Sha256: c5eb247f1c27ff4844d9cd142a6e8a6635271925618d4838641b5edb9f28d31b
Contents?: true
Size: 927 Bytes
Versions: 2
Compression:
Stored size: 927 Bytes
Contents
<Page> <SitePath> <a href="/">#{Server.map['/'].ann.index[:title] || 'Home'}</a> / <a href="#{AdminController.mount_point}">Admin</a> / Og </SitePath> <?r @headers = [ 'Class', 'Count', ' ', ' ', ' ', ' ', ' ' ] @values = @classes.inject([]) do |v, c| name = class_to_name(c) v << [ %{<a href="#{R :list, :name, name}">#{c.name.gsub(/::/, ' ')}</a>}, c.count, %{<a href="#{R :create, :name, name}">create</a>}, %{<a href="#{R :list, :name, name}">list</a>}, %{<a href="#{R :search, :name, name}">search</a>}, %{<a href="#{R :delete_class, :name, name}" onclick="confirm('Are you sure?')">delete</a>}, %{<a href="#{R :destroy_class, :name, name}" onclick="confirm('Are you sure?')">destroy</a>} ] end ?> #{table :headers => @headers, :values => @values, :alternating_rows => true, :class => :data} </Page>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.41.0 | lib/part/admin/og/template/index.xhtml |
nitro-0.40.0 | lib/part/admin/og/template/index.xhtml |