X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftemplates%2Ftargets.handlebars;h=5bba8a231339292ed251ede97836f5690b85e9b4;hb=b058cb3471f068e2ac05d12c70ec481d0b2ca0b9;hp=132f87f8b0bd9e602d7fe44ae737e1bbb57330ef;hpb=36721667730b5d8aae5b6df304f69d96f2c1d21d;p=mkws-moved-to-github.git diff --git a/src/templates/targets.handlebars b/src/templates/targets.handlebars index 132f87f..5bba8a2 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) }} @@ -24,7 +25,11 @@ data: {{{id}}} {{hits}} - {{diagnostic}} + + {{#if message}} + {{diagnostic}} ({{message}}) + {{/if}} + {{records}} {{state}}