Sha256: 8747899e13568350df7a5bf1b54c78a9854a88a0a36617f8f770bbe9ec3c44ae
Contents?: true
Size: 785 Bytes
Versions: 17
Compression:
Stored size: 785 Bytes
Contents
#faceting - if events.any? || continuing_events.any? %p.list_summary = t('event_page.showing') - if events.any? - paginated = true if events.respond_to? :total_entries - more_pages = true if paginated && events.total_pages >= 2 - if paginated - if more_pages = t('event_page.more_pages', :start => events.offset + 1,:end => events.offset + events.length ) = t('event_page.number_events',:count => events.total_entries) - else = t('event_page.number_events',:count => events.count) - elsif continuing_events.any? = t('event_page.continuing_events',:count => continuing_events.count) = render :partial => 'events/defacet' = render :partial => 'events/views'
Version data entries
17 entries across 17 versions & 1 rubygems