Sha256: 6255cc3862fe722c6770f748a0b6380b1f4e47ad7b016ddcb63f75954b749866

Contents?: true

Size: 1.38 KB

Versions: 3

Compression:

Stored size: 1.38 KB

Contents

<!--
  @Name: admin/blog/comments/_comment.html.erb
  @Use:  This is a page for displaying comments records
  @Created date: 13-06-2012
  @Modified Date: 19-06-2012
  @Company:  Mindfire Solutions
-->
<div class="alert issues-comment">
  <div class="body">
    <span class="mini-icon mini-icon-issue-comment"></span>
    <span class='title'>
      <%= comment.name %>
      <span class="preview">  <%= truncate(comment.body, :length => 75) %></span>
    </span>
    <span class='actions'>
      <%= link_to image_tag("icons/application_go.png"),
                  blog_post_url(comment.post, :anchor => "comment-#{comment.to_param}"),
                  :title => t('.view_live_html'),
                  :target => "_blank" unless comment.is_unmoderated? %>
      <%= link_to image_tag('icons/zoom.png'), admin_blog_comment_path(comment),
                  :title => t('.read') %>
      <%= link_to image_tag("icons/cross.png"),
                  rejected_admin_blog_comment_path(comment, :return_to => request.path.split('/').last.gsub(/^comments$/, 'index')),
                  :title => t('.reject') unless comment.is_rejected? %>
      <%= link_to image_tag("icons/tick.png"),
                  approved_admin_blog_comment_path(comment, :return_to => request.path.split('/').last.gsub(/^comments$/, 'index')),
                  :title => t('.approve') unless comment.is_approved? %>
    </span>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mcms_blog-1.0.0 app/views/admin/blog/comments/_comment.html.erb
mcms_blog-0.0.4 app/views/admin/blog/comments/_comment.html.erb
mcms_blog-0.0.3 app/views/admin/blog/comments/_comment.html.erb