Sha256: d566787a151e4f1f869fea9db3bbc3a7a1dbd664ffeb94490c7a79301c6beb02

Contents?: true

Size: 424 Bytes

Versions: 24

Compression:

Stored size: 424 Bytes

Contents

/*
  Sir Trevor ItemText Block.
  This block takes an ID,
  fetches the record from solr,
  displays the image, title, 
  and any provided text
  and displays them.
*/

SirTrevor.Blocks.Rule = (function(){

  return SirTrevor.Block.extend({
    type: "rule",
    
    title: function() { return i18n.t('blocks:rule:title'); },

    icon_name: "rule",
    
    editorHTML: function() {
      return '<hr />'
    }
  });
})();

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
blacklight-spotlight-3.6.0.beta5 app/javascript/spotlight/admin/blocks/rule_block.js
blacklight-spotlight-3.6.0.beta4 app/javascript/spotlight/admin/blocks/rule_block.js
blacklight-spotlight-3.6.0.beta3 app/javascript/spotlight/admin/blocks/rule_block.js
blacklight-spotlight-3.6.0.beta1 app/javascript/spotlight/admin/blocks/rule_block.js