Sha256: 91b20053d89665dbe016efecd4c11cec4ead8885546d719e21f8d369091be0e4

Contents?: true

Size: 1.32 KB

Versions: 4

Compression:

Stored size: 1.32 KB

Contents

- content_for :title do
  Buy tickets to #{@event.name}

.container#single-show-container
  .row
    .span8  

      #event-header.side-section
        %h1#logo= @event.name
        %h4= @event.producer
        %h4= @event.shows.first.show_time

      #about-event.side-section
        #description
          -if @event.description && @event.description.length > 2000
            .toggle-truncated
              .truncated
                = simple_format "#{truncate(@event.description, :length => 2000)} (#{link_to 'more','#', :class => 'toggle'})"
              .not-truncated{:style => 'display:none;'}
                =simple_format "#{@event.description} (#{link_to 'less','#', :class => 'toggle'})"
          - else
            =simple_format @event.description

      #show
        =render :partial => 'store/shows/show', :locals => {:show => @event.shows.first, :collapsed => false}


    .span4
      .side-section.event-image
        %center
          - if @event.image?
            = image_tag @event.image.url, :class => "event-poster", "data-toggle" => "modal", "data-target" => "#poster-modal"

      .side-section.store-event-display
        - unless @event.venue.address_as_string.blank?
          =render :partial => "venue", :locals => { :event => @event }

#poster-modal.modal.hide.fade
  .modal-body
    = image_tag @event.image.url

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.19 app/views/store/events/single_show.html.haml
artfully_ose-1.2.0.pre.18 app/views/store/events/single_show.html.haml
artfully_ose-1.2.0.pre.17 app/views/store/events/single_show.html.haml
artfully_ose-1.2.0.pre.16 app/views/store/events/single_show.html.haml