Sha256: 67d74dd1c1d2d766ad6693c2642cdd559defa69041800afabd02d8821938ce93

Contents?: true

Size: 1.21 KB

Versions: 78

Compression:

Stored size: 1.21 KB

Contents

<div class="address vcard">
  <div class="fn"><%= address.full_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>
      <% if Spree::Config[:address_requires_state] %>
        <span class="region"><%= address.state_text %></span>
      <% end %>
      <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"><%= Spree.t(:phone) %></span>
      <%= address.phone %>
    </div>
  <% end %>
  <% unless address.alternative_phone.blank? %>
    <div class="alternative-phone tel">
      <span class="type"><%= Spree.t(:alternative_phone) %></span>
      <%= address.alternative_phone %>
    </div>
  <% end %>
</div>

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
spree_frontend-4.0.9 app/views/spree/shared/_address.html.erb
spree_frontend-4.0.8 app/views/spree/shared/_address.html.erb
spree_frontend-3.7.14.1 app/views/spree/shared/_address.html.erb
spree_frontend-4.0.7.1 app/views/spree/shared/_address.html.erb
spree_frontend-4.0.7 app/views/spree/shared/_address.html.erb
spree_frontend-3.7.14 app/views/spree/shared/_address.html.erb
spree_frontend-4.0.6 app/views/spree/shared/_address.html.erb
spree_frontend-3.7.13 app/views/spree/shared/_address.html.erb
spree_frontend-4.0.5 app/views/spree/shared/_address.html.erb
spree_frontend-3.7.12 app/views/spree/shared/_address.html.erb
spree_frontend-4.0.4 app/views/spree/shared/_address.html.erb
spree_frontend-3.7.11 app/views/spree/shared/_address.html.erb
spree_frontend-3.4.6 app/views/spree/shared/_address.html.erb
spree_frontend-3.7.10 app/views/spree/shared/_address.html.erb
spree_frontend-4.0.3 app/views/spree/shared/_address.html.erb
spree_frontend-3.7.9 app/views/spree/shared/_address.html.erb
spree_frontend-4.0.2 app/views/spree/shared/_address.html.erb
spree_frontend-3.7.8 app/views/spree/shared/_address.html.erb
spree_frontend-4.0.1 app/views/spree/shared/_address.html.erb
spree_frontend-3.7.7 app/views/spree/shared/_address.html.erb