Get rid of Mindmap and Suggested Resources panes (both unimplemented)
authorMike Taylor <mike@indexdata.com>
Mon, 9 Jun 2014 14:27:59 +0000 (15:27 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 9 Jun 2014 14:27:59 +0000 (15:27 +0100)
examples/htdocs/mkws-widget-credo-bs.js

index 7c143c1..893ceef 100644 (file)
@@ -47,8 +47,6 @@ mkws.registerWidgetType('Credo', function() {
   s.push('</div></div>');
 
   s.push('<div class="col-md-4">');
-  s.push(section('mindmap', 'Create a Mind Map for <span class="x-mkws-title"/>',
-                 this.subwidget('Mindmap', { _team: 'main', facet: 'subject' })));
   s.push(section('topics', 'Related Topics',
                  this.subwidget('Facet', { _team: 'main', facet: 'subject' })));
   s.push('</div>');
@@ -69,8 +67,6 @@ mkws.registerWidgetType('Credo', function() {
                     this.subwidget('Records', { _team: 'books', targetfilter: 'categories=books' })));
   s.push(section('news col-md-4 col-sm-6', 'News',
                     this.subwidget('Records', { _team: 'news', targetfilter: 'categories=news' })));
-  s.push(section('resources col-md-4 col-sm-6', 'Suggested Resources',
-                    "### Not yet implemented"));
   s.push('</div>');
   this.node.html(s.join(''));
 
@@ -111,8 +107,3 @@ mkws.registerWidgetType('Credo', function() {
     return s.join('');
   }
 });
-
-
-mkws.registerWidgetType('Mindmap', function() {
-  this.node.html("### We do not yet have a Mindmap widget");
-});