div layout="screen" layout-id="checkoutComplete" id="checkoutCompleteScreen" class="screen secondary"
  .content
    .content-head
      .content-icon= image_tag("content/icon_shopping_cart.png", {:height => 19, :width => 19})
      h1 check out
      = render "screen_navigation"
    .content-body
      .content-body-scroller
        .content-wrapper
          .checkout-navigation-bar
          .checkout-complete-wrapper
            .no-purchases-prompt.hidden
              | You have not made any purchases recently.  Why not go go&nbsp;
              a href="/client#/jamtrack/search" browse our collection of JamTracks
              | ?
            .thanks-panel

              h2 Thank you for your order!
              br
              .thanks-detail We'll send you an email confirming your order shortly.
              br
              .thanks-detail.gift-card.hidden
                p Thank you for purchasing a JamTrack Gift Card!  It will be mailed to you.
              .thanks-detail.jam-tracks-in-browser.hidden
                p To play your purchased JamTrack, launch the JamKazam application and open the JamTrack while in a session.
                a.download-jamkazam-wrapper.hidden href="/downloads" rel="external"
                  .download-jamkazam
                    | Click Here to Get the Free JamKazam Application
              .thanks-detail.purchased-jam-track.hidden
                h2.purchased-jam-track-header status="in-progress"
                  span.in-progress-msg Downloading Your Purchased JamTracks
                  span.done-msg All purchased JamTracks have been downloaded successfully!  You can now play them in a session.
                span Each JamTrack will be downloaded sequentially.
                br
                span.notice Note that you do not have to wait for this to complete in order to use your JamTrack later.
                br.clear
                ul.purchased-list
            .clearall
              .action-bar
                .right
                  a.button-grey href="#" id="checkout-info-help" HELP
                  a.button-orange.checkout-done href="/client#/home" DONE
                .clearall

script type='text/template' id='template-purchased-jam-track'
  li data-jam-track-id="{{data.jam_track_id}}"