Sha256: 588aaa3572f04159ae8d60b4c4dabe8e67838852eeac93ee07ebb2fa3863f055

Contents?: true

Size: 1.2 KB

Versions: 34

Compression:

Stored size: 1.2 KB

Contents

<% search = f.object %>
<li class="dd-item dd3-item" data-id="<%= search.id %>">
  <div class="dd-handle dd3-handle"><%= t :drag %></div>
  <div class="dd3-content panel panel-default">
    <div class="panel-heading search">
      <%= f.check_box :published, label: '' %>
      
      <div class="pic thumbnail"><%= image_tag(search.thumbnail.image.thumb) if search.thumbnail %></div>
      <div class="main">
        <div class="title panel-title"><%= search.title %></div>
        <div class="count"><%= t :'.item_count', count: search.documents.size %></div>
        <div class="actions"><%= exhibit_view_link(search) %> &bull; <%= exhibit_edit_link(search) %> &bull; <%= exhibit_delete_link(search) %></div>
        <%= f.hidden_field :id %>
        <%= f.hidden_field :weight, data: {property: "weight"} %>
      </div>

      <div class="description">
        <% if search.long_description.present? %>
          <%= truncate(search.long_description, length: 89) %>
        <% else %>
          <span class="missing-description"><%= t(:'.missing_description_html', link: (link_to action_label(search, :edit_long), [spotlight, :edit, search.exhibit, search])) %></span>
        <% end %>
      </div>

    </div>
  </div>
</li>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
blacklight-spotlight-0.32.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.31.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.30.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.29.1 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.29.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.28.3 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.28.2 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.28.1 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.28.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.27.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.26.1 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.26.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.25.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.24.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.23.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.22.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.21.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.20.3 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.20.2 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.20.1 app/views/spotlight/searches/_search.html.erb