Remove caption reference to Credo
[mkws-moved-to-github.git] / examples / htdocs / mkws-widget-credo.js
index a41ec88..f8efb57 100644 (file)
@@ -44,15 +44,13 @@ mkws.registerWidgetType('Credo', function() {
 
   s.push('<td class="main">');
   s.push(section('encyclopaedia', 'Topic Page: <span class="x-mkws-title"/>',
-                 this.subwidget('Reference', { _team: 'ref' })));
+                 this.subwidget('Reference', { _team: 'ref', paragraphs: 1 })));
   // The Images widget needs to be in our team so we can set its template
   s.push(section('image', 'Images',
                  this.subwidget('GoogleImage', { maxrecs: 4, template: 'CredoImage' })));
   s.push('</td>');
 
   s.push('<td class="side">');
-  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('</td>');
@@ -61,7 +59,7 @@ mkws.registerWidgetType('Credo', function() {
 
   s.push('<tr><td colspan="2"><hr class="divider"/></td></tr>');
 
-  s.push(sectionRow('entries', 'Credo Entries',
+  s.push(sectionRow('entries', 'Results from all targets',
                     this.subwidget('Records', { _team: 'main' })));
   s.push(sectionRow('articles', 'Articles',
                     this.subwidget('Records', { _team: 'articles', targetfilter: 'categories=articles' })));
@@ -69,8 +67,6 @@ mkws.registerWidgetType('Credo', function() {
                     this.subwidget('Records', { _team: 'books', targetfilter: 'categories=books' })));
   s.push(sectionRow('news', 'News',
                     this.subwidget('Records', { _team: 'news', targetfilter: 'categories=news' })));
-  s.push(sectionRow('resources', 'Suggested Resources',
-                    "### Not yet implemented"));
 
   s.push('</table>');
 
@@ -112,8 +108,3 @@ mkws.registerWidgetType('Credo', function() {
     return s.join('');
   }
 });
-
-
-mkws.registerWidgetType('Mindmap', function() {
-  this.node.html("### We do not yet have a Mindmap widget");
-});