Sha256: 1bfa0ce4dc93909c93b5e05e1cc2a3ceef25d8d96eba3c415c80ebf8a13ff3ee

Contents?: true

Size: 440 Bytes

Versions: 9

Compression:

Stored size: 440 Bytes

Contents

- posts ||= @reader.posts.paginate(pagination_parameters)

%h2
  =t('forum_extension.count_forum_messages', :count => posts.total_entries)

- if posts.empty?
  %p 
    = t('forum_extension.no_posts')
- else
  = pagination_and_summary_for(posts, t('forum_extension.post')) if posts.previous_page
  = render :partial => 'posts/summary', :collection => posts
  = pagination_and_summary_for(posts, t('forum_extension.post')) if posts.next_page

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.7 app/views/accounts/_posts.html.haml
radiant-forum-extension-3.0.6 app/views/accounts/_posts.html.haml
radiant-forum-extension-3.0.5 app/views/accounts/_posts.html.haml
radiant-forum-extension-3.0.4 app/views/accounts/_posts.html.haml
radiant-forum-extension-3.0.3 app/views/accounts/_posts.html.haml
radiant-forum-extension-3.0.2 app/views/accounts/_posts.html.haml
radiant-forum-extension-3.0.1 app/views/accounts/_posts.html.haml
radiant-forum-extension-3.0.0 app/views/accounts/_posts.html.haml
radiant-forum-extension-3.0.0.rc6 app/views/accounts/_posts.html.haml