Sha256: bb960fbf58f484e25dc8031d9846e810c8bd28ba4fc67ac6a7e2b1d879781d68

Contents?: true

Size: 471 Bytes

Versions: 5

Compression:

Stored size: 471 Bytes

Contents

<% if auction.current_end_datetime %>
  <span>
    <%= Spree.t("ends_in") %>
  </span>
  <span class="ends-in red" 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.current_end_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/_ends_in.html.erb
solidus_auction-0.0.5 app/views/spree/shared/_ends_in.html.erb
solidus_auction-0.0.4 app/views/spree/shared/_ends_in.html.erb
solidus_auction-0.0.3 app/views/spree/shared/_ends_in.html.erb
solidus_auction-0.0.1 app/views/spree/shared/_ends_in.html.erb