Sha256: df638bdd32a7d336948b32d34f5b487db5fc60a303b217c037607462f26fd569

Contents?: true

Size: 1.14 KB

Versions: 51

Compression:

Stored size: 1.14 KB

Contents

<div class="address vcard">
  <div class="fn"><%= address.name %></div>
  <% unless address.company.blank? %>
    <div class="org">
      <%= address.company %>
    </div>
  <% end %>
  <div class="adr">
    <div class="street-address">
      <div class="street-address-line">
        <%= address.address1 %>
      </div>
      <% unless address.address2.blank? %>
        <div class="street-address-line">
          <%= address.address2 %>
        </div>
      <% end %>
    </div>
    <div class="local">
      <span class="locality"><%= address.city %></span>
      <span class="region"><%= address.state_text %></span>
      <span class="postal-code"><%= address.zipcode %></span>
      <div class="country-name"><%= address.country.try(:name) %></div>
    </div>
  </div>
  <% unless address.phone.blank? %>
    <div class="tel">
      <span class="type"><%= t('spree.phone') %></span>
      <%= address.phone %>
    </div>
  <% end %>
  <% unless address.alternative_phone.blank? %>
    <div class="alternative-phone tel">
      <span class="type"><%= t('spree.alternative_phone') %></span>
      <%= address.alternative_phone %>
    </div>
  <% end %>
</div>

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
solidus_frontend-4.0.0 app/views/spree/shared/_address.html.erb
solidus_frontend-4.0.0.dev app/views/spree/shared/_address.html.erb
solidus_frontend-3.4.0 app/views/spree/shared/_address.html.erb
solidus_frontend-3.1.9 app/views/spree/shared/_address.html.erb
solidus_frontend-3.4.0.dev app/views/spree/shared/_address.html.erb
solidus_frontend-3.3.0 app/views/spree/shared/_address.html.erb
solidus_frontend-3.2.5 app/views/spree/shared/_address.html.erb
solidus_frontend-3.2.4 app/views/spree/shared/_address.html.erb
solidus_frontend-3.2.3 app/views/spree/shared/_address.html.erb
solidus_frontend-3.1.8 app/views/spree/shared/_address.html.erb
solidus_frontend-3.0.8 app/views/spree/shared/_address.html.erb
solidus_frontend-3.2.2 app/views/spree/shared/_address.html.erb
solidus_frontend-3.2.1 app/views/spree/shared/_address.html.erb
solidus_frontend-3.3.0.alpha app/views/spree/shared/_address.html.erb
solidus_frontend-3.2.0 app/views/spree/shared/_address.html.erb
solidus_frontend-3.2.0.alpha app/views/spree/shared/_address.html.erb
solidus_frontend-3.0.7 app/views/spree/shared/_address.html.erb
solidus_frontend-2.11.17 app/views/spree/shared/_address.html.erb
solidus_frontend-3.1.7 app/views/spree/shared/_address.html.erb
solidus_frontend-2.11.16 app/views/spree/shared/_address.html.erb