Sha256: 1a85feb16c3b1831e1bcc834fd60211c530f72a4a0f9052176133b7a3533cd2e

Contents?: true

Size: 770 Bytes

Versions: 25

Compression:

Stored size: 770 Bytes

Contents

.container-fluid
  .row
    .col-md-12
      #topic_header
        = render 'topic_header', topic: @topic
  .row
    .col-md-12
      #posts
        .row
          .col-md-12.topic_posts_info
            =t('.messages_in_topic', count: @topic.posts.count)
        .row.post-list-container
          .box
            = render partial: 'post', collection: @topic_posts

        .row
          = will_paginate @topic_posts

      - if can_quick_answer?(@topic)
        #quick_answer
          = render 'quick_answer', forum: @forum, topic: @topic

:coffee
  $(document).on 'ready page:load', ->
    container = $('body')
    scroll_to = $('post_number_' + "#{params[:show_post]}")
    scroll_to = 'post_number_' + "#{params[:show_post]}"

    $('body').scrollTo(scroll_to);

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
my_forum-0.0.1.beta8 app/views/my_forum/topics/show.haml
my_forum-0.0.1.beta7 app/views/my_forum/topics/show.haml
my_forum-0.0.1.beta5 app/views/my_forum/topics/show.haml
my_forum-0.0.1.beta4 app/views/my_forum/topics/show.haml
my_forum-0.0.1.beta3 app/views/my_forum/topics/show.haml