Sha256: 96e40d518698246a8b66bac13451aeac00b2af2e14362f7caad99c5127445026
Contents?: true
Size: 888 Bytes
Versions: 2
Compression:
Stored size: 888 Bytes
Contents
ACTS_PER_PAGE = 50 view :title do voo.title = "Recent Changes" super() end format :html do view :core do voo.hide :history_legend unless voo.main bs_layout container: true, fluid: true do html _optional_render_history_legend with_drafts: false row 12 do html _render_recent_acts end row 12 do col act_paging end end 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 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" end end end format :rss do def feed_item_description_view :blank end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
card-1.91 | mod/standard/set/self/recent.rb |
card-1.21.0 | mod/standard/set/self/recent.rb |