From: Mike Taylor Date: Mon, 11 May 2015 13:32:27 +0000 (+0100) Subject: Fixes ACREP-30. X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=88a2ef647be87e967162abcbde46a8785cc9c65a;p=mkws-moved-to-github.git Fixes ACREP-30. Add new "Type" column to targets-table template. --- diff --git a/src/templates/targets.handlebars b/src/templates/targets.handlebars index 8b2355d..709885c 100644 --- a/src/templates/targets.handlebars +++ b/src/templates/targets.handlebars @@ -13,6 +13,7 @@ data: {{{mkws-translate "Target ID"}}} + {{{mkws-translate "Type"}}} {{{mkws-translate "Hits"}}} {{{mkws-translate "Diags"}}} {{{mkws-translate "Records"}}} @@ -24,6 +25,13 @@ data: {{#each data}} {{{name}}} + + {{#compare id 'matches' '^solr-'}} + H + {{else}} + S + {{/compare}} + {{hits}} {{#if message}}