Sha256: d9c3e5def2233def278b2415fabc6f34f5c61643768d60a264ef5509f4181e3f

Contents?: true

Size: 859 Bytes

Versions: 18

Compression:

Stored size: 859 Bytes

Contents

- content_for :scripts do
  = javascript_include_tag 'jquery.quickSearch.js'
  :javascript
    $( function () {
      FORGE.features.comments.init();
    });

%h1 Comments

%p.info These are comments that people have left on your items.  You can either approve or delete them.

= render :partial => "forge/shared/section_header", :locals => {:item => Comment, :options => { :show_new => false }}
%ul#item-list
  = render :partial => "comment", :collection => @comments
  .comment-approval
    = link_to "All", "?", :class => ("active" if params[:show].blank?), :id => "first"
    = link_to "Unapproved", "?show=unapproved", :class => ("active" if params[:show] == "unapproved")
    = link_to "Approved", "?show=approved", :class => ("active" if params[:show] == "approved")
= render :partial => "forge/shared/section_footer", :locals => {:items => @comments}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
forge-cli-0.1.4 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.1.3 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.1.2 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.1.1 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.1.0 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.18 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.17 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.16 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.15 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.14 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.13 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.12 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.11 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.10 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.9 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.8 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.7 lib/forge/app/views/forge/comments/index.html.haml
forge-cli-0.0.6 lib/forge/app/views/forge/comments/index.html.haml