Reinstate and configure news widget.
[mkws-moved-to-github.git] / examples / htdocs / mkws-widget-credo.js
index eb7ee7a..24ba951 100644 (file)
@@ -60,11 +60,11 @@ mkws.registerWidgetType('Credo', function() {
   s.push(sectionRow('articles', 'Articles',
                     this.subwidget('Records', { _team: 'articles', targetfilter: 'categories=articles' })));
   s.push(sectionRow('books', 'Books',
-                    1 || this.subwidget('Records', { /* ### config */ })));
+                    this.subwidget('Records', { _team: 'books', targetfilter: 'categories=books' })));
   s.push(sectionRow('news', 'News',
-                    1 || this.subwidget('Records', { /* ### config */ })));
+                    this.subwidget('Records', { _team: 'news', targetfilter: 'categories=news' })));
   s.push(sectionRow('resources', 'Suggested Resources',
-                    1 || this.subwidget('Records', { /* ### config */ })));
+                    "### Not yet implemented"));
 
   s.push('</table>');