Sha256: 6615930ba0f53ae8c0bbc2a3a820f9d7bbf2b6e013f2f3377a41e1fc3126cbba

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

header.content-header.js-content-header.-dashboard
  div
    i.icon-home>
    |   
    = t('fae.page.hello')
    strong< = current_user.full_name

== render 'flash_messages'

- if @models.any?
  main.content
    table.js-sort-column
      thead
        tr
          th = t('fae.common.name')
          th = t('fae.changes.type')
          th.-action-wide = t('fae.changes.modified')
      tbody
        - @list.each do |item|
          - begin
            - parent = item.respond_to?(:fae_parent) ? item.fae_parent : nil
            - edit_path = edit_polymorphic_path([main_app, fae_scope.to_sym, parent, item])
            - index_path = polymorphic_path([main_app, fae_scope.to_sym, parent, item.class.to_s.pluralize.underscore])
            tr
              td: a href=edit_path = item.fae_display_field
              td: a href=index_path = item.class.to_s
              td = fae_date_format item.updated_at
          - rescue
- else
  section.help-section
    article.content
      h2 = t('fae.page.welcome')
      p
        = t('fae.page.no_objs_start')
        br
        a href="https://www.faecms.com/documentation/quickstart-guide" target="_blank" = t('fae.page.no_objs_end')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fae-rails-2.2.0 app/views/fae/pages/home.html.slim