From: Mike Taylor Date: Thu, 30 Oct 2014 17:05:49 +0000 (+0000) Subject: Part of MKWS-322: renamed the 'termlists' template 'facets' X-Git-Tag: 1.0.0~98^2^2~7 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;ds=sidebyside;h=505dd4d0dc3a94c36f1730ec9c48b9f4990d8bac;p=mkws-moved-to-github.git Part of MKWS-322: renamed the 'termlists' template 'facets' --- diff --git a/src/mkws-widget-termlists.js b/src/mkws-widget-termlists.js index 21810c6..575a655 100644 --- a/src/mkws-widget-termlists.js +++ b/src/mkws-widget-termlists.js @@ -6,7 +6,7 @@ mkws.registerWidgetType('termlists', function() { that.node.addClass("active"); }); - var template = team.loadTemplate(this.config.template || "termlists"); + var template = team.loadTemplate(this.config.template || "facets"); this.node.html(template({ team: team.name(), facets: this.config.facets diff --git a/src/templates/facets.handlebars b/src/templates/facets.handlebars new file mode 100644 index 0000000..66caa83 --- /dev/null +++ b/src/templates/facets.handlebars @@ -0,0 +1,11 @@ +{{! +Termlists, a container of all configured facets. + +team - the current team +facets - array of facet names +}} + +
Termlists
+{{#each facets}} +
+{{/each}} diff --git a/src/templates/termlists.handlebars b/src/templates/termlists.handlebars deleted file mode 100644 index 66caa83..0000000 --- a/src/templates/termlists.handlebars +++ /dev/null @@ -1,11 +0,0 @@ -{{! -Termlists, a container of all configured facets. - -team - the current team -facets - array of facet names -}} - -
Termlists
-{{#each facets}} -
-{{/each}}