Sha256: efb75700b436e64b5c80802b9d631555cd585a3f3fcdff45a2a294c68d1012ee

Contents?: true

Size: 635 Bytes

Versions: 13

Compression:

Stored size: 635 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>
    <%= button_to_conversation(comment) %>
    <hr />
    </li>
  <% end %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
publify_core-10.0.1 app/views/admin/dashboard/_comment.html.erb
publify_core-10.0.0 app/views/admin/dashboard/_comment.html.erb
publify_core-9.2.10 app/views/admin/dashboard/_comment.html.erb
publify_core-9.2.9 app/views/admin/dashboard/_comment.html.erb
publify_core-9.2.8 app/views/admin/dashboard/_comment.html.erb
publify_core-9.2.7 app/views/admin/dashboard/_comment.html.erb
publify_core-9.2.6 app/views/admin/dashboard/_comment.html.erb
publify_core-9.2.5 app/views/admin/dashboard/_comment.html.erb
publify_core-9.2.4 app/views/admin/dashboard/_comment.html.erb
publify_core-9.2.3 app/views/admin/dashboard/_comment.html.erb
publify_core-9.2.2 app/views/admin/dashboard/_comment.html.erb
publify_core-9.2.1 app/views/admin/dashboard/_comment.html.erb
publify_core-9.2.0 app/views/admin/dashboard/_comment.html.erb