Sha256: 5d9a479d7ec74a99397493a6a4cfc7beeb7a68ace167ffd528aa59198fda4b81
Contents?: true
Size: 807 Bytes
Versions: 8
Compression:
Stored size: 807 Bytes
Contents
//= require spotlight/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-feature-pages-path]').data('autocomplete-exhibit-feature-pages-path').replace("%25QUERY", "%QUERY"); }, autocomplete_template: function() { return '<div class="autocomplete-item{{#unless published}} blacklight-private{{/unless}}">{{log "Look at me"}}{{log thumbnail_image_url}}{{#if thumbnail_image_url}}<div class="document-thumbnail thumbnail"><img src="{{thumbnail_image_url}}" /></div>{{/if}}<span class="autocomplete-title">{{title}}</span><br/><small> {{description}}</small></div>' }, }); })();
Version data entries
8 entries across 8 versions & 1 rubygems