mod/standard/set/self/recent.rb in card-1.91 vs mod/standard/set/self/recent.rb in card-1.92
- old
+ new
@@ -20,16 +20,18 @@
end
view :recent_acts, cache: :never do
acts = Act.all_viewable.order(id: :desc)
.page(page_from_params).per(ACTS_PER_PAGE)
- render_act_list acts: acts, act_context: :absolute
+ act_accordion acts do |act, act_seq|
+ act.card.format(:html).render_act act: act, act_seq: act_seq, act_context: :absolute
+ end
end
def act_paging
acts = Act.all_viewable.order(id: :desc).page(page_from_params).per(ACTS_PER_PAGE)
wrap_with :span, class: "slotter" do
- paginate acts, remote: true, theme: "twitter-bootstrap-3"
+ paginate acts, remote: true, theme: "twitter-bootstrap-4"
end
end
end
format :rss do