Sha256: 96d01eb79e9b215daf4b5380c32d4dbf3c5ce0678b18ea938fcc606d7489a977
Contents?: true
Size: 915 Bytes
Versions: 24
Compression:
Stored size: 915 Bytes
Contents
//= require spotlight/admin/blocks/resources_block SirTrevor.Blocks.FeaturedPages = (function(){ return Spotlight.Block.Resources.extend({ type: "featured_pages", icon_name: "pages", autocomplete_url: function() { return $(this.inner).closest('form[data-autocomplete-exhibit-pages-path]').data('autocomplete-exhibit-pages-path').replace("%25QUERY", "%QUERY"); }, autocomplete_template: function() { return '<div class="autocomplete-item{{#unless published}} blacklight-private{{/unless}}">{{#if thumbnail_image_url}}<div class="document-thumbnail"><img class="img-thumbnail" src="{{thumbnail_image_url}}" /></div>{{/if}}<span class="autocomplete-title">{{title}}</span><br/><small> {{description}}</small></div>' }, bloodhoundOptions: function() { return { prefetch: { url: this.autocomplete_url(), ttl: 0 } }; } }); })();
Version data entries
24 entries across 24 versions & 1 rubygems