Sha256: 9117321a29037366fd6c3d1ce86401984abd5075e923f0bb9b0a9fc4f1da7494

Contents?: true

Size: 647 Bytes

Versions: 10

Compression:

Stored size: 647 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

10 entries across 10 versions & 1 rubygems

Version Path
HornsAndHooves-publify_core-10.5.0 app/views/admin/dashboard/_comment.html.erb
HornsAndHooves-publify_core-10.4.0 app/views/admin/dashboard/_comment.html.erb
HornsAndHooves-publify_core-10.3.0 app/views/admin/dashboard/_comment.html.erb
HornsAndHooves-publify_core-10.2.0 app/views/admin/dashboard/_comment.html.erb
HornsAndHooves-publify_core-10.1.1 app/views/admin/dashboard/_comment.html.erb
HornsAndHooves-publify_core-10.1.0 app/views/admin/dashboard/_comment.html.erb
HornsAndHooves-publify_core-10.0.3 app/views/admin/dashboard/_comment.html.erb
HornsAndHooves-publify_core-10.0.2 app/views/admin/dashboard/_comment.html.erb
HornsAndHooves-publify_core-10.0.1 app/views/admin/dashboard/_comment.html.erb
HornsAndHooves-publify_core-10.0.0 app/views/admin/dashboard/_comment.html.erb