mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
7 lines
261 B
Text
7 lines
261 B
Text
|
<% @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 %>
|