Sha256: 7f55c5a540e1811bd4404f600552561bf69e3946c486172cedab4e7f0f0a1984

Contents?: true

Size: 689 Bytes

Versions: 8

Compression:

Stored size: 689 Bytes

Contents

<article id="category-view" class="category_<%= @category.slug %>">
    <div class="panel panel-primary post_list no-line">
        <div class="panel-body">
            <div class="row">
                <% @posts.each_with_index do |post, index| %>
                    <%= raw "<div class='clearfix'></div>" if index%3 == 0 && index > 0 %>
                    <%= render partial: 'partials/post_list_item', locals: {post: post.decorate} %>
                <% end %>
            </div>
            <%= content_tag("div", raw(ct('no_contents_found')), class: "alert alert-warning") if @posts.empty? %>
            <%= raw cama_do_pagination(@posts) %>
        </div>
    </div>
</article>


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
camaleon_cms-2.1.1.4 app/apps/themes/default/views/category.html.erb
camaleon_cms-2.1.1 app/apps/themes/default/views/category.html.erb
camaleon_cms-2.1.0 app/apps/themes/default/views/category.html.erb
camaleon_cms-2.0.4.1 app/apps/themes/default/views/category.html.erb
camaleon_cms-2.0.4 app/apps/themes/default/views/category.html.erb
camaleon_cms-2.0.3 app/apps/themes/default/views/category.html.erb
camaleon_cms-2.0.2 app/apps/themes/default/views/category.html.erb
camaleon_cms-2.0.1 app/apps/themes/default/views/category.html.erb