Sha256: 7d048c8598e7f026e464029e78f6fb5979c614388f0e3e265afb618e9993bd48

Contents?: true

Size: 396 Bytes

Versions: 5

Compression:

Stored size: 396 Bytes

Contents

panel t('activerecord.models.entry.other') do
  if account.entries.any?
    table_for account.entries, :i18n => Pageflow::Entry do
      column :title do |entry|
        link_to(entry.title, admin_entry_path(entry))
      end
    end
  else
    div :class => "blank_slate_container" do
      span :class => "blank_slate" do
        I18n.t('admin.accounts.no_entries')
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pageflow-0.5.0 app/views/admin/accounts/_entries_panel.html.arb
pageflow-0.4.0 app/views/admin/accounts/_entries_panel.html.arb
pageflow-0.3.0 app/views/admin/accounts/_entries_panel.html.arb
pageflow-0.2.1 app/views/admin/accounts/_entries_panel.html.arb
pageflow-0.2.0 app/views/admin/accounts/_entries_panel.html.arb