summaryrefslogtreecommitdiff
blob: 65cac94109ad885de2eaef8ea55678cb8c116049 (plain)
1
2
3
4
5
6
7
8
9
10
11
  <div class="box" id="comments" style="margin-bottom: 4em;">
    <%= box_title('Comments', :icon => 'icons/comment.png',
        :toolbar => [
                {:title => 'Add comment', :uri => "javascript:addCommentDialog(#{@glsa.id})", :icon => 'icons/plus.png'},
                {:title => 'Dock right', :uri => "javascript:GLSAMaker.misc.ui.dock($('comments'))", :icon => 'icons/dock-right.png'}
        ]
        ) %>
    <ul id="commentslist">
      <%= render :partial => "comment", :collection => @glsa.comments.order("created_at ASC") %>
    </ul>
  </div>