Sha256: 9e18199fe2eb0682180a09276d857d33bb0b42ee716f1c0562e5a3eb29aebf67

Contents?: true

Size: 1.07 KB

Versions: 10

Compression:

Stored size: 1.07 KB

Contents

%p
  = link_to 'Start a new entry', new_admin_entry_path
%br

%h2 Drafts

- if @drafts.any?
  %table.entries
    - @drafts.each do |entry|
      %tr
        %td
          = link_to image_tag('delete_page.png'),
            admin_entry_path(entry),
            :confirm => 'Are you sure?',
            :method => :delete,
            :title => 'Delete'
          = link_to image_tag('full_page.png'),
            entry_path(entry),
            :title => 'Preview'
        %td
          = link_to entry.title, edit_admin_entry_path(entry)

%br

%h2 Published

- if @published.any?
  %table.entries
    - @published.each do |entry|
      %tr
        %td.icons
          = link_to image_tag('delete_page.png'),
            admin_entry_path(entry),
            :confirm => 'Are you sure?',
            :method => :delete,
            :title => 'Delete'
          = link_to image_tag('full_page.png'),
            public_entry_path(entry),
            :title => 'Preview'
        %td
          = link_to entry.title, edit_admin_entry_path(entry)
        %td.when
          = entry.published_at.to_s(:long)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jabe-0.5.9 app/views/admin/entries/index.html.haml
jabe-0.5.8 app/views/admin/entries/index.html.haml
jabe-0.5.7 app/views/admin/entries/index.html.haml
jabe-0.5.6 app/views/admin/entries/index.html.haml
jabe-0.5.5 app/views/admin/entries/index.html.haml
jabe-0.5.4 app/views/admin/entries/index.html.haml
jabe-0.5.3 app/views/admin/entries/index.html.haml
jabe-0.5.2 app/views/admin/entries/index.html.haml
jabe-0.5.1 app/views/admin/entries/index.html.haml
jabe-0.5.0 app/views/admin/entries/index.html.haml