From 505dd4d0dc3a94c36f1730ec9c48b9f4990d8bac Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 30 Oct 2014 17:05:49 +0000 Subject: [PATCH] Part of MKWS-322: renamed the 'termlists' template 'facets' --- src/mkws-widget-termlists.js | 2 +- src/templates/facets.handlebars | 11 +++++++++++ src/templates/termlists.handlebars | 11 ----------- 3 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 src/templates/facets.handlebars delete mode 100644 src/templates/termlists.handlebars 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}} -- 1.7.10.4