From 89eeb00131b5353f1a7ec97b432e85bcded9cbe0 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 11 May 2015 14:32:27 +0100 Subject: [PATCH] Fixes ACREP-30. Add new "Type" column to targets-table template. --- src/templates/targets.handlebars | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/templates/targets.handlebars b/src/templates/targets.handlebars index 5b14484..671edec 100644 --- a/src/templates/targets.handlebars +++ b/src/templates/targets.handlebars @@ -14,6 +14,7 @@ data: {{{mkws-translate "Target ID"}}} + {{{mkws-translate "Type"}}} {{{mkws-translate "Hits"}}} {{{mkws-translate "Diags"}}} {{{mkws-translate "Records"}}} @@ -25,6 +26,13 @@ data: {{#each data}} {{{name}}} + + {{#compare id 'matches' '^solr-'}} + H + {{else}} + S + {{/compare}} + {{hits}} {{#if message}} -- 1.7.10.4