Sha256: 1b8dc78b80651560783d993ce16f5df727320f566989296eab2ad82aae06a934

Contents?: true

Size: 471 Bytes

Versions: 5

Compression:

Stored size: 471 Bytes

Contents

<% if auction.starting_datetime %>
  <span>
    <%= Spree.t("starts_in") %>
  </span>
  <span class="starts-in green" data-auction-end-datetime=<%= auction.current_end_datetime_as_float%> data-auction-starting-datetime=<%= auction.starting_datetime_as_float%>>
    <% if auction.complete %>
      <span class="green">
        COMPLETE
      </span>
    <% else %>
      <%= distance_of_time_in_words_to_now(auction.starting_datetime) %>
    <% end %>
  </span>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_auction-0.0.6 app/views/spree/shared/_starts_in.html.erb
solidus_auction-0.0.5 app/views/spree/shared/_starts_in.html.erb
solidus_auction-0.0.4 app/views/spree/shared/_starts_in.html.erb
solidus_auction-0.0.3 app/views/spree/shared/_starts_in.html.erb
solidus_auction-0.0.1 app/views/spree/shared/_starts_in.html.erb