Sha256: 00c6c89448dafe5a35d64f1e559e8edfdb642e9444f7a6cf995df9dd4f2e22df

Contents?: true

Size: 1.58 KB

Versions: 6

Compression:

Stored size: 1.58 KB

Contents

<% # Clients of this partial must supply the following variables:
   # comment
   # user
%>
  
<div id="comment_<%= comment.id.to_s %>_div" class="comment">
  <span id="comment_<%= comment.id.to_s %>_commontator_span" class="comment_commontator">
    <% if !user.nil? && user.commontator_config.user_name_clickable %>
      <%= link_to commontator_name(comment.creator), main_app.polymorphic_path(comment.creator) %>
    <% else %>
      <%= commontator_name(comment.creator) %>
    <% end %>
    &nbsp;&nbsp;
    <span id="comment_<%= comment.id.to_s %>_timestamp_span" class="comment_timestamp">
      <%= comment.timestamp %><%= " by #{commontator_name(comment.editor)}" if comment.is_modified? %>
    </span>
  </span>
  
  <span id="comment_<%= comment.id.to_s %>_actions_span" class="comment_actions">
    <%= render :partial => 'commontator/comments/actions',
               :locals => {:comment => comment,
                           :user => user} %>
  </span>
  
  <br clear="all"/>
  
  <span id="comment_<%= comment.id.to_s %>_gravatar_image_span" class="comment_gravatar_image">
    <%= commontator_gravatar_image comment.creator %>
  </span>
  
  <span id="comment_<%= comment.id.to_s %>_votes_span" class="comment_votes">
    <%= render :partial => 'commontator/comments/votes',
               :locals => {:comment => comment,
                           :user => user} %>
  </span>
  
  <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

6 entries across 6 versions & 1 rubygems

Version Path
commontator-4.0.2 app/views/commontator/comments/_show.html.erb
commontator-2.0.2 app/views/commontator/comments/_show.html.erb
commontator-4.0.1 app/views/commontator/comments/_show.html.erb
commontator-4.0.0 app/views/commontator/comments/_show.html.erb
commontator-2.0.1 app/views/commontator/comments/_show.html.erb
commontator-2.0.0 app/views/commontator/comments/_show.html.erb