Sha256: 86f5b3b265ddbecf51c42284ecfd19e6c0b0676316c767201e6749c3ea2ef412

Contents?: true

Size: 792 Bytes

Versions: 15

Compression:

Stored size: 792 Bytes

Contents

- if @show_watch
  %script(type='text/javascript')
    function favourite_thread(thread_id, user_id) {
    $.post('/forums/thread/' + thread_id + '/favourite', null, function(result) {
    $('#thread_' + thread_id).slideUp(); 
    });
    }
  
- if @mod 
  - content_for :page_scripts do
    = render :partial=>"topic_index", :handler=>[:erb], :formats=>[:js]

#forums.clearfix

  = render :partial=>"introduction"
  #list_title
    %h2
      = link_to t("forum.name"), "/forums", :class=>"breadcrumb"
      →
      = t(@list_name)

  - show_post_options = false

  = render(partial:"thread_list",:locals=>{:options=>{:show_post_options=>false, :show_topic=>true, :show_headings=>true, :show_meta=>true, :show_mod=>@mod, :paginate=>true, :show_watch=>@show_watch}, :threads=>@threads}) 

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kit_cms-2.3.22 app/views/forum/thread_list.html.haml
kit_cms-2.3.20 app/views/forum/thread_list.html.haml
kit_cms-2.3.19 app/views/forum/thread_list.html.haml
kit_cms-2.3.18 app/views/forum/thread_list.html.haml
kit_cms-2.3.17 app/views/forum/thread_list.html.haml
kit_cms-2.3.16 app/views/forum/thread_list.html.haml
kit_cms-2.3.15 app/views/forum/thread_list.html.haml
kit_cms-2.3.14 app/views/forum/thread_list.html.haml
kit_cms-2.3.13 app/views/forum/thread_list.html.haml
kit_cms-2.3.11 app/views/forum/thread_list.html.haml
kit_cms-2.3.10 app/views/forum/thread_list.html.haml
kit_cms-2.3.9 app/views/forum/thread_list.html.haml
kit_cms-2.3.8 app/views/forum/thread_list.html.haml
kit_cms-2.3.7 app/views/forum/thread_list.html.haml
kit_cms-2.3.6 app/views/forum/thread_list.html.haml