<%= name %> <%= state %> <% if (state == "RUNNING") { %> <% } else if (state == "STOPPED") { %> <% } %>