{extends "idf/gadmin/usher/base.html"} {block docclass}yui-t3{assign $inUsher=true}{/block} {block body} {foreach $servers as $server} {/foreach}
{trans "server name"} {trans "status"} {trans "action"}
{$server.name} {$server.status} {if preg_match("/ACTIVE|WAITING|RUNNING|SLEEPING/", $server.status)} {trans 'stop'} {elseif $server.status == "STOPPED"} {trans 'start'} {/if} {if preg_match("/ACTIVE|WAITING|SLEEPING|STOPPING/", $server.status)} | {trans 'kill'} {/if} {if preg_match("/STOPPING|ACTIVE/", $server.status)} | {trans 'active connections'} {/if}
{/block} {block context}

{trans 'Status explanation'}

{/block}