Sha256: 80cf1eaddebdc5dc22daa836252fbe8d3f778e4cf0315bb22a4ae4c6546ae9db

Contents?: true

Size: 1.52 KB

Versions: 4

Compression:

Stored size: 1.52 KB

Contents

<% # Clients of this partial must supply the following variables:
   # comment
%>

<% enable_votes = comment.can_be_voted_on? %>
  
<div id="comment_<%= comment.id.to_s %>_div" class="comment" style="clear:both">                 
  <span id="comment_<%= comment.id.to_s %>_commontator_span" class="comment_commontator">
    <% if commontator.commontator_config.commontator_name_clickable %>
      <%= link_to commontator_name(comment), main_app.polymorphic_path(comment.commontator) %>
    <% else %>
      <%= commontator_name(comment) %>
    <% end %>
    &nbsp;&nbsp;
    <span id="comment_<%= comment.id.to_s %>_timestamp_span" class="comment_timestamp">
      <%= comment_timestamp(comment) %>
    </span>
  </span>
  
  <span id="comment_<%= comment.id.to_s %>_actions_span" class="comment_actions">
    <%= render :partial => 'commontator/comments/actions',
               :locals => { :comment => comment } %>
  </span>
  
  <br clear="all"/>
  
  <span id="comment_<%= comment.id.to_s %>_profile_picture_span" class="comment_profile_picture">
    <%= gravatar_image comment %>
  </span>
  
  <% if enable_votes %>
    <span id="comment_<%= comment.id.to_s %>_votes_span" class="comment_votes">
      <%= render :partial => 'commontator/comments/votes',
                 :locals => {:comment => comment} %>
    </span>
  <% end %>
  
  <div id="comment_<%= comment.id.to_s %>_body_div" class="comment_body">
    <%= render :partial => 'commontator/comments/body',
               :locals => {:comment => comment} %>
  </div>

</div>

<br clear="all"/>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
commontator-0.3.10 app/views/commontator/comments/_show.html.erb~
commontator-0.2.4 app/views/commontator/comments/_show.html.erb~
commontator-0.2.0 app/views/commontator/comments/_show.html.erb~
commontator-0.1.46 app/views/commontator/comments/_show.html.erb~