X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=src%2Ftemplates%2Ftargets.handlebars;h=8b2355d731858364fcbd9096dfd013afa7972d86;hp=132f87f8b0bd9e602d7fe44ae737e1bbb57330ef;hb=b4884db6570ed46b1e9d702fb338891efd3a1007;hpb=36721667730b5d8aae5b6df304f69d96f2c1d21d diff --git a/src/templates/targets.handlebars b/src/templates/targets.handlebars index 132f87f..8b2355d 100644 --- a/src/templates/targets.handlebars +++ b/src/templates/targets.handlebars @@ -4,7 +4,8 @@ Target detail data: id - target id, an opaque identifier hits - number of hits for this target, or "Error" if an error has occurred - diagnostic - diagnostic code returned by target, if any. May be numeric or human-readable + diagnostic - numeric diagnostic code returned by target; 0 if OK + message - message corresponding to diagnostic code, if any. records - number of record retrieved from target state - target state (Client_Idle, Client_Working, Client_Disconnected or Client_Error) }} @@ -22,9 +23,13 @@ data: {{#each data}} - {{{id}}} + {{{name}}} {{hits}} - {{diagnostic}} + + {{#if message}} + {{diagnostic}} ({{message}}) + {{/if}} + {{records}} {{state}}