waiting usher instances should be stoppable as well

This commit is contained in:
Thomas Keller 2010-08-30 21:29:42 +00:00
parent a384c60937
commit e26a5c8cdf

View File

@ -14,7 +14,7 @@
<td>{$server.name}</td> <td>{$server.name}</td>
<td>{$server.status}</td> <td>{$server.status}</td>
<td> <td>
{if preg_match("/ACTIVE|RUNNING|SLEEPING/", $server.status)} {if preg_match("/ACTIVE|WAITING|RUNNING|SLEEPING/", $server.status)}
<a href="{url 'IDF_Views_Admin::usherServerControl', array($server.name, 'stop')}"> <a href="{url 'IDF_Views_Admin::usherServerControl', array($server.name, 'stop')}">
{trans 'stop'}</a> {trans 'stop'}</a>
{elseif $server.status == "STOPPED"} {elseif $server.status == "STOPPED"}