From: Mike Taylor Date: Fri, 17 Oct 2014 10:02:38 +0000 (+0100) Subject: Correctly render state rather than replicating hits. X-Git-Tag: 1.0.0~159^2~4 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=0b6a8fc3fe09157eec91e972a0f68b17b71f159c;p=mkws-moved-to-github.git Correctly render state rather than replicating hits. Add brief documentation of state. --- diff --git a/src/mkws.templates/Targets.handlebars b/src/mkws.templates/Targets.handlebars index fd74d20..132f87f 100644 --- a/src/mkws.templates/Targets.handlebars +++ b/src/mkws.templates/Targets.handlebars @@ -6,7 +6,7 @@ data: 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 records - number of record retrieved from target - state - target state + state - target state (Client_Idle, Client_Working, Client_Disconnected or Client_Error) }} @@ -26,7 +26,7 @@ data: - + {{/each}}
{{hits}} {{diagnostic}} {{records}}{{hits}}{{state}}