Sha256: 7f3c641ba4c4cde44a6c1f844bf2449a8f362e1dbcb80997fe854d3c3b788f27

Contents?: true

Size: 1.51 KB

Versions: 11

Compression:

Stored size: 1.51 KB

Contents

- include_stylesheet('admin/forum')
= render_region :top 

#topics_table.outset
  %table#topics.index{:cellspacing=>"0", :border=>"0", :cellpadding=>"0"}
    %thead
      %tr
        - render_region :thead do |thead|
          - thead.title_header do
            %th.topic 
              = t('forum_extension.topic')
          - thead.date_header do
            %th.date 
          - thead.author_header do
            %th.author 
              = t('forum_extension.author')
          - thead.body_header do
            %th.body
              = t('forum_extension.body')
          - thead.modify_header do
            %th.action
    %tbody
      - @topics.each do |topic|
        %tr
          - render_region :tbody do |tbody|
            - tbody.title_cell do
              %td.name
                = link_to topic.name, edit_admin_topic_url(:id => topic)

            - tbody.date_cell do
              %td.topic_date
                = friendly_date(topic.created_at)

            - tbody.author_cell do
              %td.topic_author
                = link_to topic.reader.name, edit_admin_reader_url(topic.reader)
                    
            - tbody.body_cell do
              %td.topic_body
                = truncate_words(scrub_html(topic.body), 12)

            - tbody.modify_cell do
              %td.actions
                = link_to image('minus') + ' ' + t('remove'), remove_admin_topic_url(:id => topic) , :class => 'action'

- render_region :bottom do |bottom|
  - bottom.buttons do
    #actions
      = pagination_for @topics

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.7 app/views/admin/topics/index.html.haml
radiant-forum-extension-3.0.6 app/views/admin/topics/index.html.haml
radiant-forum-extension-3.0.5 app/views/admin/topics/index.html.haml
radiant-forum-extension-3.0.4 app/views/admin/topics/index.html.haml
radiant-forum-extension-3.0.3 app/views/admin/topics/index.html.haml
radiant-forum-extension-3.0.2 app/views/admin/topics/index.html.haml
radiant-forum-extension-3.0.1 app/views/admin/topics/index.html.haml
radiant-forum-extension-3.0.0 app/views/admin/topics/index.html.haml
radiant-forum-extension-3.0.0.rc6 app/views/admin/topics/index.html.haml
radiant-forum-extension-3.0.0.rc4 app/views/admin/topics/index.html.haml
radiant-forum-extension-3.0.0.rc3 app/views/admin/topics/index.html.haml