Reinstate and configure news widget.
authorMike Taylor <mike@indexdata.com>
Thu, 22 May 2014 15:08:32 +0000 (16:08 +0100)
committerMike Taylor <mike@indexdata.com>
Thu, 22 May 2014 15:08:32 +0000 (16:08 +0100)
Add "not implemented" note for Suggested Resources.

examples/htdocs/mkws-widget-credo.js

index ff5a50c..24ba951 100644 (file)
@@ -62,9 +62,9 @@ mkws.registerWidgetType('Credo', function() {
   s.push(sectionRow('books', 'Books',
                     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>');