Sha256: 5026681399bfe8e545e4a12d2786119790cf8208e05497b6a111a28eee236615

Contents?: true

Size: 1.56 KB

Versions: 5

Compression:

Stored size: 1.56 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)}" %>
    </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

5 entries across 5 versions & 1 rubygems

Version Path
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~