Sha256: 35cab8bd67e0c2e94e4e4b1721cd557805533e7358fb482474944e2863c3205b

Contents?: true

Size: 488 Bytes

Versions: 55

Compression:

Stored size: 488 Bytes

Contents

<%= image_tag contact.avatar.thumb.url, class: 'contact-photo' if contact.avatar.present? %>
<div itemprop="name" class="name"><%= contact.name %></div>
<% Spotlight::Contact.fields.each do |field, options| %>
  <% if (value = contact.contact_info[field]).present? %>
    <div itemprop="<%= options[:itemprop] || field %>">
      <% if options[:helper] %>
        <%= send(options[:helper], value) %>
      <% else %>
        <%= value %>
      <% end %>
    </div>
  <% end %>
<% end %>

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
blacklight-spotlight-0.9.2 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.9.1 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.9.0 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.8.2 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.8.1 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.8.0 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.7.2 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.7.1 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.7.0 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.6.0 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.5.0 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.4.1 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.3.1 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.3.0 app/views/spotlight/about_pages/_contact_properties.html.erb
blacklight-spotlight-0.2.0 app/views/spotlight/about_pages/_contact_properties.html.erb