Sha256: c356d57c7203d99b13f128e7c57a526d63c85abcd5b52f8069d8b615833af568

Contents?: true

Size: 874 Bytes

Versions: 16

Compression:

Stored size: 874 Bytes

Contents

  <div class="media" id="<%= dom_id(comment) %>">
    <a class="pull-left" href="#"><div class="media-object"><%= avatar_for comment.user, 50 %></div></a>
    <div class="media-body">
      <%= link_to "<span class='hovertip' data-placement='right' title='#{comment.user.full_name}'>#{present(comment).author}</span>".html_safe, '#', class: 'media-heading' %>
      <ul class="headline-info">
        <li><%= link_to('Edit', dm_core.edit_admin_comment_path(comment), remote: true) if can?(:manage, :all) || current_user == comment.user %>
        <li><%= link_to('Delete', dm_core.admin_comment_path(comment), method: :delete, remote: true, data: {confirm: 'Are you sure you wish to delete this comment?'}) if can?(:manage, :all) %>
        <li><%= format_datetime comment.created_at %></li>
      </ul>
      <%= present(comment).formatted_comment %>
    </div>
  </div>


Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dm_core-4.2.3.10 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.3.9 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.3.8 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.3.7 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.3.6 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.3.5 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.3.4 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.3.3 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.3.2 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.3.1 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.3 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.2.3 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.2.2 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.2.1 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.2 app/views/dm_core/admin/comments/_comment.html.erb
dm_core-4.2.1.5 app/views/dm_core/admin/comments/_comment.html.erb