Sha256: 9008bb6a7735dd398c504e7650e725ff910fd8a708af717d2ba0083650c6a0c2
Contents?: true
Size: 1.36 KB
Versions: 5
Compression:
Stored size: 1.36 KB
Contents
<%# collection catalog#index list view %> <div class="collection_view_all_link"> <% if document[blacklight_config.institution_field.to_sym] %> <%= link_to_all_col_items(document[blacklight_config.index.title_field.to_sym], t('blacklight.home.browse.institutions.enabled') ? document[blacklight_config.institution_field.to_sym] : nil, 'view-all-col') %> <% end %> </div> <div class="collection_index_container"> <div class="collection-location"> <% if document[:institution_pid_ssi] && document[blacklight_config.institution_field.to_sym] && t('blacklight.home.browse.institutions.enabled') %> <%= link_to(document[blacklight_config.institution_field.to_sym].first, institution_path(document[:institution_pid_ssi])) %> <% end %> </div> <div class="item_index_details"> <% if document[:abstract_tsim] %> <%= truncate(sanitize(document[:abstract_tsim].first.gsub(/<\/p><p>/,' '), :tags => []), :length => 300, :separator => ' ', :omission => '... ') do link_to('more', collection_path(:id => document[:id]), :class => 'read-more-link') end %> <% end %> </div> </div>
Version data entries
5 entries across 5 versions & 1 rubygems