Sha256: 590b89b571983fb1431988f85ac97dfc372d90aa5585d16093372b66b57c6249
Contents?: true
Size: 802 Bytes
Versions: 39
Compression:
Stored size: 802 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.$el.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
39 entries across 39 versions & 1 rubygems