Sha256: 48b5a342b654d7e5d76d356b153056d33f359df8855c4dbdf325e6056e6d2c15

Contents?: true

Size: 651 Bytes

Versions: 9

Compression:

Stored size: 651 Bytes

Contents

<% if @comments.size == 0 %>
  <li class='alert alert-info'><%= t(".no_comments_yet") %></li>
<% else %>
  <% for comment in @comments %>
    <li id='feedback_<%= comment.id %>'>
    <%= avatar_tag(:email => comment.email, :url => comment.url, class: 'pull-left img-circle gravatar') %>
    <h5>
      <%= t(".by") %> <%= comment.url.blank? ? h(comment.author) : nofollowify_links(link_to(h(comment.author), comment.url)) %>
      <%= display_date_and_time comment.created_at %>
    </h5>
    <p>
    <%= comment.html.strip_html.slice(0..300) %>
    </p>
    <%= show_feedback_actions(comment, 'dashboard') %>
    <hr>
    </li>
  <% end %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
publify_core-9.1.0 app/views/admin/dashboard/_comment.html.erb
publify_core-9.0.1 app/views/admin/dashboard/_comment.html.erb
publify_core-9.0.0 app/views/admin/dashboard/_comment.html.erb
publify_core-9.0.0.pre6 app/views/admin/dashboard/_comment.html.erb
publify_core-9.0.0.pre5 app/views/admin/dashboard/_comment.html.erb
publify_core-9.0.0.pre4 app/views/admin/dashboard/_comment.html.erb
publify_core-9.0.0.pre3 app/views/admin/dashboard/_comment.html.erb
publify_core-9.0.0.pre2 app/views/admin/dashboard/_comment.html.erb
publify_core-9.0.0.pre1 app/views/admin/dashboard/_comment.html.erb