Sha256: 9d833fcb5efdb263d7dd3fc9e7fe5875babf8c8706efa21a1fe762bda5928952
Contents?: true
Size: 1.52 KB
Versions: 2
Compression:
Stored size: 1.52 KB
Contents
- include_stylesheet('admin/forum') = render_region :top #posts_table.outset %table#posts.index{:cellspacing=>"0", :border=>"0", :cellpadding=>"0"} %thead %tr - render_region :thead do |thead| - thead.body_header do %th.body = t('forum_extension.body') - thead.author_header do %th.author = t('forum_extension.author') - thead.date_header do %th.date - thead.topic_header do %th.topic = t('forum_extension.topic') - thead.modify_header do %th.action %tbody - @posts.each do |post| %tr - render_region :tbody do |tbody| - tbody.body_cell do %td.post_body = link_to truncate_words(scrub_html(post.body), 8), edit_admin_post_url(post) - tbody.author_cell do %td.post_author = link_to post.reader.name, admin_reader_url(post.reader) - tbody.date_cell do %td.post_date = friendly_date(post.created_at) - tbody.topic_cell do %td.post_topic = link_to_topic(post.topic, :class => 'external') - tbody.modify_cell do %td.actions = link_to image('minus') + ' ' + t('remove'), remove_admin_post_url(:id => post) , :class => 'action' - render_region :bottom do |bottom| - bottom.buttons do #actions = pagination_for @posts
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
radiant-forum-extension-3.0.0.rc4 | app/views/admin/posts/index.html.haml |
radiant-forum-extension-3.0.0.rc3 | app/views/admin/posts/index.html.haml |