Sha256: 66dae52303ca92cd78d45a7268071200bb13b2a8f1389c27a4100348c54234e7

Contents?: true

Size: 1.19 KB

Versions: 101

Compression:

Stored size: 1.19 KB

Contents

<% comments.each do |comment| user = comment.comment_user.decorate %>
    <div class="comment-body <%= "answer" if children.present? %>">
        <div class="image <%= "image_children" if children.present? %>">
            <div class="thumbnail">
                <%= image_tag user.the_avatar, class: "img-responsive avatar"%>
            </div><!-- /thumbnail -->
        </div><!-- /col-sm-1 -->
        <div class="comment-content text <%= "text_children" if children.present? %>">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <strong class="<%= (children.present?)? "pull-right" : "" %>"><%= user.the_name %></strong> <small class="text-muted <%= (children.present?)? "" : "pull-right" %>"><%= comment.decorate.the_created_at %></small>
                </div>
                <div class="panel-body">
                    <%= raw comment.content %>
                </div><!-- /panel-body -->
            </div><!-- /panel panel-default -->
        </div><!-- /col-sm-5 -->
    </div>
    <%= render partial: "partials/comments_list", locals: { comments: comment.children.approveds, children: "present" }  if comment.children.present? %>
<% end %>

Version data entries

101 entries across 101 versions & 2 rubygems

Version Path
camaleon_cms-2.4.5.11 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.5.10 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.5.9 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.5.8 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.5.7 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.5.5 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.5.4 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.5.3 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.5.2 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.5.1 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.5 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.4.7 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.4.6 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.4.5 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.4.4 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.4.3 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.4.2 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.4.1 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.4 app/apps/themes/default/views/partials/_comments_list.html.erb
camaleon_cms-2.4.3.13 app/apps/themes/default/views/partials/_comments_list.html.erb