Sha256: 287b264b6c054b897456595b9b9dbf2b233df63ac56d3a4a3e95c2454cca04a2

Contents?: true

Size: 648 Bytes

Versions: 4

Compression:

Stored size: 648 Bytes

Contents

-# Partial to display a list of conferences matching the search query.
-# origin: M

- if @running_conferences.present?

  - segment(:title => 'Currently running conferences', :id => 'running_conferences') do
    %ul
      - for conference in @running_conferences
        %li= link_to icon(:conference, conference.name), conference


-# Always show the generic list of conferences

- segment(:title => 'Conferences') do
  - if @conferences.present?
    %ul
      - for conference in @conferences
        %li= link_to icon(:conference, conference.name), conference
    = pagination @conferences        
  - else
    .none
      No conference found.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
serum-rails-0.2.1 spec/test_apps/rails-2-3/app/views/conferences/_list.html.haml
serum-rails-0.2.0 spec/test_apps/rails-2-3/app/views/conferences/_list.html.haml
serum-rails-0.1.1 spec/test_app/app/views/conferences/_list.html.haml
serum-rails-0.1.0 spec/test_app/app/views/conferences/_list.html.haml