Sha256: c468ea919b19fbeb8d3e928c1f927675f087931f6828efb704a8d73f38b59b58

Contents?: true

Size: 1.32 KB

Versions: 8

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 > 600
            .toggle-truncated
              .truncated
                = simple_format "#{truncate(@event.description, :length => 300)} (#{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

8 entries across 8 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.15 app/views/store/events/single_show.html.haml
artfully_ose-1.2.0.pre.12 app/views/store/events/single_show.html.haml
artfully_ose-1.2.0.pre.11 app/views/store/events/single_show.html.haml
artfully_ose-1.2.0.pre.10 app/views/store/events/single_show.html.haml
artfully_ose-1.2.0.pre.9 app/views/store/events/single_show.html.haml
artfully_ose-1.2.0.pre.8 app/views/store/events/single_show.html.haml
artfully_ose-1.2.0.pre.7 app/views/store/events/single_show.html.haml
artfully_ose-1.2.0.pre.6 app/views/store/events/single_show.html.haml