ensl.org/app/views/servers/_response.xml.erb

7 lines
261 B
Text
Raw Normal View History

<% @server.logs.recent.reverse_each do |log| %>
<% if log.domain == Log::DOMAIN_RCON_COMMAND %>
<pre class="command"><%= log.text %></pre>
<% elsif log.domain == Log::DOMAIN_RCON_RESPONSE %>
<pre class="response"><%= log.text %></pre>
<% end %>
<% end %>